diff --git a/NEWS b/NEWS index 0b5dbe4..427415b 100644 --- a/NEWS +++ b/NEWS @@ -20,6 +20,7 @@ Bug fixes: * Fixed a bug where a CAP entry for a network was not recreated on a reconnect. * Fixed a bug where incoming PART's from ourselves were not parsed. +* Fixed a bug in UNO where rehashing during a game caused a crash. Incompatibilities: diff --git a/doc/CHANGELOG b/doc/CHANGELOG index c5e9f48..50e7023 100644 --- a/doc/CHANGELOG +++ b/doc/CHANGELOG @@ -3,6 +3,7 @@ Auto IRC Bot 3.0: Change Log 3.0 Indev =============================================================================== + * Fixed a bug in UNO where rehashing during a game caused a crash. * Proto::IRC::umodes renamed to Proto::IRC::botinfo{svr}{modes}. * Fixed a bug where incoming PART's from ourselves were not parsed. * Our usermodes are now tracked in Proto::IRC::umodes. diff --git a/modules/UNO.pm b/modules/UNO.pm index 2025d40..7a8a45e 100644 --- a/modules/UNO.pm +++ b/modules/UNO.pm @@ -5,7 +5,7 @@ package M::UNO; use strict; use warnings; use feature qw(switch); -use API::Std qw(cmd_add cmd_del hook_add hook_del trans conf_get err has_priv match_user); +use API::Std qw(cmd_add cmd_del hook_add hook_del trans conf_get err has_priv match_user awarn); use API::IRC qw(notice privmsg); # Set various variables we'll need throughout runtime.