event["line"][1] -> event["line"].args[1]
This commit is contained in:
parent
481d6b9be6
commit
f571bebeee
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ def handle_437(event):
|
||||||
_nick_in_use(event["server"])
|
_nick_in_use(event["server"])
|
||||||
|
|
||||||
def handle_396(event):
|
def handle_396(event):
|
||||||
username, sep, hostname = event["line"][1].rpartition("@")
|
username, sep, hostname = event["line"].args[1].rpartition("@")
|
||||||
event["server"].hostname = hostname
|
event["server"].hostname = hostname
|
||||||
if sep:
|
if sep:
|
||||||
event["server"].username = username
|
event["server"].username = username
|
||||||
|
|
Loading…
Reference in a new issue