mirror of
https://github.com/pragma-/pbot.git
synced 2025-05-02 20:57:28 +02:00
Plugins/RestrictedMod: clarify a comment
This commit is contained in:
parent
8af433a817
commit
b30c41e31e
@ -162,7 +162,7 @@ sub unmute {
|
|||||||
|
|
||||||
sub kb {
|
sub kb {
|
||||||
my ($self, $stuff) = @_;
|
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 $result if length $result;
|
||||||
return $self->kick($stuff);
|
return $self->kick($stuff);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user