mirror of
https://github.com/pragma-/pbot.git
synced 2025-01-11 12:32:37 +01:00
Plugins/RestrictedMod: clarify a comment
This commit is contained in:
parent
8af433a817
commit
b30c41e31e
@ -162,7 +162,7 @@ sub unmute {
|
||||
|
||||
sub kb {
|
||||
my ($self, $stuff) = @_;
|
||||
my $result = $self->ban(dclone $stuff); # note: using copy of $stuff
|
||||
my $result = $self->ban(dclone $stuff); # note: using copy of $stuff to preserve $stuff->{arglist} for $self->kick($stuff)
|
||||
return $result if length $result;
|
||||
return $self->kick($stuff);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user