Irssi core bugs

Notice: Undefined index: tasklist_type in /var/www/bugs.irssi.org/includes/class.tpl.php(128) : eval()'d code on line 85 Notice: Undefined index: tasklist_type in /var/www/bugs.irssi.org/includes/class.tpl.php(128) : eval()'d code on line 90
  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category core
  • Assigned To No-one
  • Operating System Linux
  • Severity Medium
  • Priority Normal
  • Reported Version Irssi 0.8.12
  • Due in Version Undecided
  • Due Date Undecided
  • Votes 0
  • Private No
Attached to Project: Irssi core bugs
Opened by Dan Boger (zigdon) - 2011-02-28

FS#794 - TEXT_DEST_REC modifications are ignored by signal_contine()

I'm writing a script that's trying to cause a message that would cause a hilight to not hilight.

I registered code in 'print text' that will strip the MSGLEVEL_HILIGHT bit, and set MSGLEVEL_NOHILIGHT in the $dest->{level}. Then issue a signal_continue().

This seems to do nothing. If I make changes to the text, in the same signal_continue() call, those changes DO take effect.

Sample code:

Irssi::signal_add('print text', 'sig_incoming');

sub sig_incoming {
my ($dest, $text, $stripped) = @_;

$dest->{level} = $dest->{level} & ~MSGLEVEL_HILIGHT | MSGLEVEL_NOHILIGHT;
Irssi::signal_continue($dest, $text, $stripped);
}

This task does not depend on any other tasks.

Loading...