Utils.seperate_hostmask has been broken all this time! usernames were coming out
as nickname!username
This commit is contained in:
parent
d72c15c956
commit
462b0f5f0e
1 changed files with 1 additions and 1 deletions
2
Utils.py
2
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):
|
||||
|
|
Loading…
Reference in a new issue