Handle the bot itself changing nicks
This commit is contained in:
parent
6dcf2f513c
commit
b3687268c2
@ -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
|
user.nick = nick
|
||||||
|
|
||||||
Event("nick_change", {}).dispatch(var, user, old_rawnick)
|
Event("nick_change", {}).dispatch(var, user, old_rawnick)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user