aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar jesopo2020-03-08 20:49:24 +0000
committerGravatar jesopo2020-03-08 20:49:24 +0000
commitf571bebeee0244662d5471ce49ce1c5c53da7495 (patch)
tree0562577764ca108d3b1f8998be1a2b9a522f62a5 /src
parentmove bitbotctl call to after starting bitbot (diff)
signature
event["line"][1] -> event["line"].args[1]
Diffstat (limited to 'src')
-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