Add missing ".get(" in modules/resume.py
This commit is contained in:
parent
150ad512ad
commit
2b106adc05
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ class Module(ModuleManager.BaseModule):
|
|||
|
||||
@utils.hook("received.numeric.001")
|
||||
def on_connect(self, event):
|
||||
new_token = event["server"].connection_params.get("new-token")
|
||||
new_token = event["server"].connection_params.args.get("new-token")
|
||||
if new_token:
|
||||
event["server"].connection_params.args["resume"] = [
|
||||
event["server"].nickname, new_token]
|
||||
|
|
Loading…
Reference in a new issue