mirror of
https://github.com/pragma-/pbot.git
synced 2024-10-06 11:28:43 +02:00
MessageHistory: ensure host is always normalized for get_message_account()
This commit is contained in:
parent
fb2124632a
commit
8e615fe6a3
@ -368,6 +368,8 @@ sub find_message_accounts_by_mask {
|
|||||||
sub get_message_account {
|
sub get_message_account {
|
||||||
my ($self, $nick, $user, $host, $orig_nick) = @_;
|
my ($self, $nick, $user, $host, $orig_nick) = @_;
|
||||||
|
|
||||||
|
($nick, $user, $host) = $self->{pbot}->{irchandlers}->normalize_hostmask($nick, $user, $host);
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
use Devel::StackTrace;
|
use Devel::StackTrace;
|
||||||
my $trace = Devel::StackTrace->new(indent => 1, ignore_class => ['PBot::PBot', 'PBot::IRC']);
|
my $trace = Devel::StackTrace->new(indent => 1, ignore_class => ['PBot::PBot', 'PBot::IRC']);
|
||||||
|
Loading…
Reference in New Issue
Block a user