aboutsummaryrefslogtreecommitdiff
path: root/src/core_modules
diff options
context:
space:
mode:
authorGravatar jesopo2020-02-06 16:52:26 +0000
committerGravatar jesopo2020-02-06 16:52:26 +0000
commitceb0a19679d083b74976429b279853f7b1bedc4d (patch)
tree711d3ef488eb0b60f7685f2b072c13212a4e0fac /src/core_modules
parentadd a setting to only track words from registered users (diff)
signature
typo in !hostmask, 'spect' -> 'spec'
Diffstat (limited to 'src/core_modules')
-rw-r--r--src/core_modules/permissions/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core_modules/permissions/__init__.py b/src/core_modules/permissions/__init__.py
index ab32a50a..44ebcc77 100644
--- a/src/core_modules/permissions/__init__.py
+++ b/src/core_modules/permissions/__init__.py
@@ -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":