aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jesopo2018-09-13 11:50:18 +0100
committerGravatar jesopo2018-09-13 11:50:18 +0100
commitb4397071ed73c16ef7a461894e65adf28124776b (patch)
treec2f9ee2246bfe3b85d5eebc9e2b684ecdd673117
parentSupport "nickname@hostname" hostmask, even though it's almost certain it'll (diff)
signature
Oops, this isn't C#.
-rw-r--r--Utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utils.py b/Utils.py
index fd9f5234..19985bd1 100644
--- a/Utils.py
+++ b/Utils.py
@@ -53,7 +53,7 @@ def seperate_hostmask(hostmask):
if first_delim > -1 and second_delim > first_delim:
nickname, username = hostmask.split("!", 1)
username, hostname = username.split("@", 1)
- else if second_delim > -1:
+ elif second_delim > -1:
nickname, hostname = hostmask.split("@", 1)
return IRCHostmask(nickname, username, hostname, hostmask)