aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar jesopo2019-12-18 19:36:52 +0000
committerGravatar jesopo2019-12-18 19:36:52 +0000
commit1fedaf02bd1952c6477c006fb51e3fe3f64d1851 (patch)
tree140f8db892cd664142232ccb0cd3aef44e9b8777 /src
parentadd kwarg name replacements to aliases.py, use it for $NICK$ (diff)
signature
'hostmaks' -> 'hostmask' typo in code for `!hostmask add`
Diffstat (limited to 'src')
-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 9872831a..cd46766c 100644
--- a/src/core_modules/permissions/__init__.py
+++ b/src/core_modules/permissions/__init__.py
@@ -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)