aboutsummaryrefslogtreecommitdiff
path: root/src/core_modules/line_handler
diff options
context:
space:
mode:
Diffstat (limited to 'src/core_modules/line_handler')
-rw-r--r--src/core_modules/line_handler/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core_modules/line_handler/core.py b/src/core_modules/line_handler/core.py
index 8e60edfa..aa862a03 100644
--- a/src/core_modules/line_handler/core.py
+++ b/src/core_modules/line_handler/core.py
@@ -167,7 +167,7 @@ def handle_437(event):
_nick_in_use(event["server"])
def handle_396(event):
- username, sep, hostname = event["line"][1].rpartition("@")
+ username, sep, hostname = event["line"].args[1].rpartition("@")
event["server"].hostname = hostname
if sep:
event["server"].username = username