From 284f943c08675f62b3c602b16596a4763a5d3e4e Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Sun, 15 Mar 2015 14:07:38 -0700 Subject: [PATCH] Fix typos --- PBot/ShitList.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PBot/ShitList.pm b/PBot/ShitList.pm index 6155aca5..d1d4d158 100644 --- a/PBot/ShitList.pm +++ b/PBot/ShitList.pm @@ -52,7 +52,7 @@ sub remove { $hostmask = lc $hostmask; if (exists $self->{shitlist}->{$channel}) { - delete $$self->{shitlist}->{$channel}->{$hostmask}; + delete $self->{shitlist}->{$channel}->{$hostmask}; } if (keys $self->{shitlist}->{$channel} == 0) { @@ -181,7 +181,7 @@ sub shitlist_user { sub unshitlist_user { my $self = shift; my ($from, $nick, $user, $host, $arguments) = @_; - my ($channel, $target) = split /\s+/, $arguments if $arguments; + my ($target, $channel) = split /\s+/, $arguments if $arguments; if(not defined $target) { return "Usage: unshitlist [channel]";