typo in !hostmask, 'spect' -> 'spec'

This commit is contained in:
jesopo 2020-02-06 16:52:26 +00:00
parent 83bc75c9cc
commit ceb0a19679

View file

@ -283,7 +283,7 @@ class Module(ModuleManager.BaseModule):
@utils.spec("!'list")
@utils.spec("!'add,remove ?<hostmask>word")
def hostmask(self, event):
subcommand = event["spect"][0]
subcommand = event["spec"][0]
hostmasks = event["user"].get_setting(HOSTMASKS_SETTING, [])
if subcommand == "list":