mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-23 04:19:27 +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) {
|
if (not $u) {
|
||||||
$channel = '.*';
|
$channel = '.*';
|
||||||
$hostmask = "$nick!*\@*";
|
$hostmask = "$nick!$user\@" . $self->{pbot}->{antiflood}->address_to_mask($host);
|
||||||
my $name = $nick;
|
my $name = $nick;
|
||||||
|
|
||||||
my ($existing_channel, $existing_hostmask) = $self->find_user_account($channel, $name);
|
my ($existing_channel, $existing_hostmask) = $self->find_user_account($channel, $name);
|
||||||
|
Loading…
Reference in New Issue
Block a user