diff options
| author | 2018-09-04 08:05:02 +0100 | |
|---|---|---|
| committer | 2018-09-04 08:12:09 +0100 | |
| commit | 462b0f5f0e32558aca92f26f827dbc5a5b341668 (patch) | |
| tree | 30377bda2a4d9b8e1dae0fddc8c2eefba0af2d3c /Utils.py | |
| parent | Most 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.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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): |
