mirror of
https://github.com/pragma-/pbot.git
synced 2025-02-26 10:30:50 +01: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 {
|
||||
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']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user