mirror of https://github.com/pragma-/pbot.git
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