apikey
command should have a minimum argument restriction (rest_api.py)
This commit is contained in:
parent
520d8b681f
commit
1b94a72a65
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
if self.httpd:
|
if self.httpd:
|
||||||
self.httpd.shutdown()
|
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):
|
def api_key(self, event):
|
||||||
"""
|
"""
|
||||||
:help: Generate a new API key
|
:help: Generate a new API key
|
||||||
|
|
Loading…
Add table
Reference in a new issue