mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-26 22:09:26 +01:00
Fix minor typo in unban
usage
This commit is contained in:
parent
c25ecfd743
commit
83d27038d4
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user