mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-20 02:49:49 +01:00
Users: useradd
now properly returns "added" message
This commit is contained in:
parent
95f2cfdd55
commit
33d9faac52
@ -365,7 +365,7 @@ sub useradd {
|
||||
}
|
||||
|
||||
$self->{pbot}->{users}->add_user($name, $channel, $hostmask, $level, $password);
|
||||
return not $level ? "User added." : "Admin added.";
|
||||
return !$level ? "User added." : "Admin added.";
|
||||
}
|
||||
|
||||
sub userdel {
|
||||
|
Loading…
Reference in New Issue
Block a user