diff options
Diffstat (limited to 'scripts/autowhois.pl')
| -rw-r--r-- | scripts/autowhois.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/autowhois.pl b/scripts/autowhois.pl index 1f9802e..5ec6c19 100644 --- a/scripts/autowhois.pl +++ b/scripts/autowhois.pl @@ -1,5 +1,6 @@ # /WHOIS all the users who send you a private message. # v1.1 for irssi 0.7.98 by Timo Sirainen +use strict; use Irssi; use vars qw($VERSION %IRSSI); $VERSION = "1.1"; @@ -17,7 +18,7 @@ $VERSION = "1.1"; # History: # v1.1: don't /WHOIS if query exists for the nick already -my $lastfrom, $lastquery; +my ($lastfrom, $lastquery); sub msg_private_first { my ($server, $msg, $nick, $address) = @_; |
