diff options
| author | 2018-09-13 11:50:18 +0100 | |
|---|---|---|
| committer | 2018-09-13 11:50:18 +0100 | |
| commit | b4397071ed73c16ef7a461894e65adf28124776b (patch) | |
| tree | c2f9ee2246bfe3b85d5eebc9e2b684ecdd673117 | |
| parent | Support "nickname@hostname" hostmask, even though it's almost certain it'll (diff) | |
| signature | ||
Oops, this isn't C#.
| -rw-r--r-- | Utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |
