MessageHistory: ensure host is always normalized for get_message_account()

This commit is contained in:
Pragmatic Software 2018-08-13 14:24:37 -07:00
parent fb2124632a
commit 8e615fe6a3
1 changed files with 2 additions and 0 deletions

View File

@ -368,6 +368,8 @@ sub find_message_accounts_by_mask {
sub get_message_account {
my ($self, $nick, $user, $host, $orig_nick) = @_;
($nick, $user, $host) = $self->{pbot}->{irchandlers}->normalize_hostmask($nick, $user, $host);
=cut
use Devel::StackTrace;
my $trace = Devel::StackTrace->new(indent => 1, ignore_class => ['PBot::PBot', 'PBot::IRC']);