Handle the bot itself changing nicks

This commit is contained in:
Vgr E. Barry 2017-12-29 10:10:11 -05:00
parent 6dcf2f513c
commit b3687268c2

View File

@ -493,7 +493,7 @@ def on_nick_change(cli, old_rawnick, nick):
"""
user = users._get(old_rawnick) # FIXME
user = users._get(old_rawnick, allow_bot=True) # FIXME
user.nick = nick
Event("nick_change", {}).dispatch(var, user, old_rawnick)