set nick to '<nickname>|' when we get a nickname-in-use error (line_handler.py)
This commit is contained in:
parent
2e925a6853
commit
1f1a19b5b6
1 changed files with 2 additions and 1 deletions
|
@ -697,7 +697,8 @@ class Module(ModuleManager.BaseModule):
|
|||
# nickname already in use
|
||||
@utils.hook("raw.received.433", default_event=True)
|
||||
def handle_433(self, event):
|
||||
pass
|
||||
new_nick = "%s|" % event["server"].connection_params.nickname
|
||||
event["server"].send_nick(new_nick)
|
||||
|
||||
# we need a registered nickname for this channel
|
||||
@utils.hook("raw.received.477", default_event=True)
|
||||
|
|
Loading…
Reference in a new issue