aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2018-10-15 14:29:16 +0100
committerGravatar jesopo2018-10-15 14:29:16 +0100
commit743b3bc754907ce7c222cff7f91c40998e32b636 (patch)
tree82bd4d5191f06e45e4ca3c877b370bbd488acae0 /modules
parentCorrectly check if someone's logged in to an account with extended-join (diff)
signature
event["args"] is an array already, args_split does not exist. Also send raw
events from src/IRCServer.py as call_unsafe to make errors like that more apparent.
Diffstat (limited to 'modules')
-rw-r--r--modules/line_handler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/line_handler.py b/modules/line_handler.py
index 501e226b..da0d5d07 100644
--- a/modules/line_handler.py
+++ b/modules/line_handler.py
@@ -176,7 +176,7 @@ class Module(ModuleManager.BaseModule):
realname = None
if len(event["args"]) == 2:
channel = event["server"].get_channel(event["args"][0])
- if not event["args_split"][1] == "*":
+ if not event["args"][1] == "*":
account = event["args"][1]
realname = event["arbitrary"]
else: