fuckyou.pl minor bugfix

This commit is contained in:
wowaname 2017-02-02 07:08:58 +00:00
parent 42b569d4b6
commit 46c135b05e
1 changed files with 2 additions and 1 deletions

View File

@ -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);