'hostmaks' -> 'hostmask' typo in code for !hostmask add

This commit is contained in:
jesopo 2019-12-18 19:36:52 +00:00
parent ddcf54e751
commit 1fedaf02bd

View file

@ -307,7 +307,7 @@ class Module(ModuleManager.BaseModule):
hostmasks.append(hostmask)
event["user"].set_setting(HOSTMASKS_SETTING, hostmasks)
hostmask_obj = utils.irc.hostmask_parse(hostmaks)
hostmask_obj = utils.irc.hostmask_parse(hostmask)
self._specific_hostmask(event["server"], hostmask_obj, account)
self._add_hostmask(event["server"], hostmask_obj, account)