utils.irc.parse_hostmask -> utils.irc.hostmask_parse

This commit is contained in:
jesopo 2019-11-30 20:30:54 +00:00
parent 91c3688018
commit cdfbf6f002

View file

@ -21,7 +21,7 @@ class Module(ModuleManager.BaseModule):
def _add_hostmask(self, server, hostmask, account):
server._hostmasks[hostmask] = (
utils.irc.parse_hostmask(hostmask), account)
utils.irc.hostmask_parse(hostmask), account)
def _remove_hostmask(self, server, hostmask):
if hostmask in server._hostmasks:
del server._hostmasks[hostmask]