From 2b106adc050703be3055f2408ce21020c56e53e1 Mon Sep 17 00:00:00 2001 From: jesopo Date: Thu, 8 Nov 2018 17:29:20 +0000 Subject: [PATCH] Add missing ".get(" in modules/resume.py --- modules/resume.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/resume.py b/modules/resume.py index 16b8d2cf..21fa83e8 100644 --- a/modules/resume.py +++ b/modules/resume.py @@ -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]