diff options
| author | 2019-02-01 12:02:02 +0000 | |
|---|---|---|
| committer | 2019-02-01 12:02:02 +0000 | |
| commit | 1b94a72a658b7a87d5190d227cf3901eb69ca147 (patch) | |
| tree | c48e2a0addde7d8d0031e6736b88cb7c9c980fd2 /modules/rest_api.py | |
| parent | Actually add private_unban function def. oops. (channel_op.py) (diff) | |
| signature | ||
`apikey` command should have a minimum argument restriction (rest_api.py)
Diffstat (limited to 'modules/rest_api.py')
| -rw-r--r-- | modules/rest_api.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/rest_api.py b/modules/rest_api.py index 85a5fc68..7355c039 100644 --- a/modules/rest_api.py +++ b/modules/rest_api.py @@ -110,7 +110,7 @@ class Module(ModuleManager.BaseModule): if self.httpd: self.httpd.shutdown() - @utils.hook("received.command.apikey", private_only=True) + @utils.hook("received.command.apikey", private_only=True, min_args=1) def api_key(self, event): """ :help: Generate a new API key |
