3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-23 04:19:27 +01:00

Fix minor typo in unban usage

This commit is contained in:
Pragmatic Software 2018-02-21 17:27:52 -08:00
parent c25ecfd743
commit 83d27038d4

View File

@ -109,7 +109,7 @@ sub unban_user {
my ($target, $channel, $immediately) = split /\s+/, $arguments; my ($target, $channel, $immediately) = split /\s+/, $arguments;
if(not defined $target) { if(not defined $target) {
return "/msg $nick Usage: unban <mask> [[channel] [true value to use unban queue]]"; return "/msg $nick Usage: unban <mask> [[channel] [false value to use unban queue]]";
} }
$channel = exists $stuff->{as_admin} ? $stuff->{as_admin} : $from if not defined $channel; $channel = exists $stuff->{as_admin} ? $stuff->{as_admin} : $from if not defined $channel;