diff options
| author | 2020-01-28 15:42:56 +0000 | |
|---|---|---|
| committer | 2020-01-28 15:42:56 +0000 | |
| commit | 63d2c169540d306ecfe92b9280a01b7ed0cf6d91 (patch) | |
| tree | a34828dfb9922f902b671c6e6a4666ea6aad9a3c /src/core_modules/permissions | |
| parent | switch tweets to use utils.datetime.to_pretty_time() (diff) | |
| signature | ||
change "non-consuming spec arg" character from "=" to "-"
Diffstat (limited to 'src/core_modules/permissions')
| -rw-r--r-- | src/core_modules/permissions/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core_modules/permissions/__init__.py b/src/core_modules/permissions/__init__.py index e5371a7f..ab32a50a 100644 --- a/src/core_modules/permissions/__init__.py +++ b/src/core_modules/permissions/__init__.py @@ -184,7 +184,7 @@ class Module(ModuleManager.BaseModule): @utils.hook("received.command.register") @utils.kwarg("help", "Register your nickname") - @utils.spec("!=privateonly !<password>string") + @utils.spec("!-privateonly !<password>string") def register(self, event): hash, salt = self._get_hash(event["server"], event["user"].nickname) if not hash and not salt: @@ -202,7 +202,7 @@ class Module(ModuleManager.BaseModule): @utils.hook("received.command.identify") @utils.kwarg("help", "Identify for your current nickname") - @utils.spec("!=privateonly ?<account>aword !<password>string") + @utils.spec("!-privateonly ?<account>aword !<password>string") def identify(self, event): if not event["user"].channels: raise utils.EventError("You must share at least one channel " |
