aboutsummaryrefslogtreecommitdiff
path: root/Utils.py
diff options
context:
space:
mode:
authorGravatar jesopo2018-09-04 08:05:02 +0100
committerGravatar jesopo2018-09-04 08:12:09 +0100
commit462b0f5f0e32558aca92f26f827dbc5a5b341668 (patch)
tree30377bda2a4d9b8e1dae0fddc8c2eefba0af2d3c /Utils.py
parentMost userhost-in-names check to after mode prefix checking (diff)
Utils.seperate_hostmask has been broken all this time! usernames were coming out
as nickname!username
Diffstat (limited to 'Utils.py')
-rw-r--r--Utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utils.py b/Utils.py
index 15d8e2be..8e5baa63 100644
--- a/Utils.py
+++ b/Utils.py
@@ -20,7 +20,7 @@ def seperate_hostmask(hostmask):
nickname = username = hostname = hostmask
if first_delim > -1 and second_delim > first_delim:
nickname, username = hostmask.split("!", 1)
- username, hostname = hostmask.split("@", 1)
+ username, hostname = username.split("@", 1)
return nickname, username, hostname
def get_url(url, **kwargs):