fuckyou.pl minor bugfix
This commit is contained in:
parent
42b569d4b6
commit
46c135b05e
@ -157,9 +157,10 @@ sub event_whois_channels
|
||||
|
||||
sub irc_402 {
|
||||
my $message = pop;
|
||||
my $targmatch = quotemeta $target;
|
||||
|
||||
return weechat::WEECHAT_RC_OK
|
||||
unless ($message =~ /^[^ ]* 402 [^ ]+ $target /i);
|
||||
unless ($message =~ /^[^ ]* 402 [^ ]+ $targmatch /i);
|
||||
weechat::unhook($signal);
|
||||
weechat::unhook($timer);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user