Plugins/RestrictedMod: clarify a comment

This commit is contained in:
Pragmatic Software 2020-01-31 22:10:20 -08:00
parent 8af433a817
commit b30c41e31e
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}