aboutsummaryrefslogtreecommitdiff
path: root/modules/admin.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/admin.py')
-rw-r--r--modules/admin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/admin.py b/modules/admin.py
index 12c1895d..4d4250bc 100644
--- a/modules/admin.py
+++ b/modules/admin.py
@@ -131,7 +131,7 @@ class Module(ModuleManager.BaseModule):
raise utils.EventError("Please provide <hostname>:[+]<port>")
port = int(port)
- hostmask = utils.irc.seperate_hostmask(event["args_split"][2])
+ hostmask = utils.irc.parse_hostmask(event["args_split"][2])
nickname = hostmask.nickname
username = hostmask.username or nickname
realname = nickname