From 1fedaf02bd1952c6477c006fb51e3fe3f64d1851 Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 18 Dec 2019 19:36:52 +0000 Subject: [PATCH] 'hostmaks' -> 'hostmask' typo in code for `!hostmask add` --- src/core_modules/permissions/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)