aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/line_handler.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/modules/line_handler.py b/modules/line_handler.py
index f8a37103..77e31a33 100644
--- a/modules/line_handler.py
+++ b/modules/line_handler.py
@@ -28,8 +28,7 @@ class Module(ModuleManager.BaseModule):
default_event = any(default_events)
kwargs = {"args": line.args, "tags": line.tags, "server": server,
- "prefix": line.prefix, "has_arbitrary": line.has_arbitrary,
- "direction": Direction.RECV}
+ "prefix": line.prefix, "direction": Direction.RECV}
self.events.on("raw.received").on(line.command).call_unsafe(**kwargs)
if default_event or not hooks:
@@ -90,9 +89,7 @@ class Module(ModuleManager.BaseModule):
# server telling us what it supports
@utils.hook("raw.received.005")
def handle_005(self, event):
- isupport_list = event["args"][1:]
- if event["has_arbitrary"]:
- isupport_list = isupport_list[:-1]
+ isupport_list = event["args"][1:-1]
isupport = {}
for i, item in enumerate(isupport_list):