Send WHO on self mode change, to catch any important changes to our user
information that mode changes can cause (e.g. hostname change)
This commit is contained in:
parent
08b4d94695
commit
8bbdcc6d4e
1 changed files with 1 additions and 0 deletions
|
@ -379,6 +379,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
for mode in chunk[1:]:
|
for mode in chunk[1:]:
|
||||||
event["server"].change_own_mode(remove, mode)
|
event["server"].change_own_mode(remove, mode)
|
||||||
self._event(event, "self.mode", modes=modes, server=event["server"])
|
self._event(event, "self.mode", modes=modes, server=event["server"])
|
||||||
|
event["server"].send_who(event["server"].nickname)
|
||||||
|
|
||||||
# someone (maybe me!) has been invited somewhere
|
# someone (maybe me!) has been invited somewhere
|
||||||
@utils.hook("raw.received.invite")
|
@utils.hook("raw.received.invite")
|
||||||
|
|
Loading…
Reference in a new issue