mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-22 20:09:43 +01:00
Users: use much more strict hostmask for my
accounts
This commit is contained in:
parent
153d2c111f
commit
e3d52c7d55
@ -442,7 +442,7 @@ sub mycmd {
|
||||
|
||||
if (not $u) {
|
||||
$channel = '.*';
|
||||
$hostmask = "$nick!*\@*";
|
||||
$hostmask = "$nick!$user\@" . $self->{pbot}->{antiflood}->address_to_mask($host);
|
||||
my $name = $nick;
|
||||
|
||||
my ($existing_channel, $existing_hostmask) = $self->find_user_account($channel, $name);
|
||||
|
Loading…
Reference in New Issue
Block a user