utils.irc.parse_hostmask -> utils.irc.hostmask_parse
This commit is contained in:
parent
91c3688018
commit
cdfbf6f002
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
|
|
||||||
def _add_hostmask(self, server, hostmask, account):
|
def _add_hostmask(self, server, hostmask, account):
|
||||||
server._hostmasks[hostmask] = (
|
server._hostmasks[hostmask] = (
|
||||||
utils.irc.parse_hostmask(hostmask), account)
|
utils.irc.hostmask_parse(hostmask), account)
|
||||||
def _remove_hostmask(self, server, hostmask):
|
def _remove_hostmask(self, server, hostmask):
|
||||||
if hostmask in server._hostmasks:
|
if hostmask in server._hostmasks:
|
||||||
del server._hostmasks[hostmask]
|
del server._hostmasks[hostmask]
|
||||||
|
|
Loading…
Reference in a new issue