Add missing "," in modules/resume.py

This commit is contained in:
jesopo 2018-11-08 17:28:21 +00:00
parent b3625dbe13
commit 150ad512ad

View file

@ -14,7 +14,7 @@ class Module(ModuleManager.BaseModule):
@utils.hook("received.cap.ack") @utils.hook("received.cap.ack")
def on_cap_ack(self, event): def on_cap_ack(self, event):
username token = self._get_token(event["server"]) username, token = self._get_token(event["server"])
if CAP in event["capabilities"] and username and token: if CAP in event["capabilities"] and username and token:
event["server"].send("RESUME %s %s" % (username, token)) event["server"].send("RESUME %s %s" % (username, token))
return False return False