diff --git a/modules/admin.py b/modules/admin.py index 3128afb8..b9ba25e1 100644 --- a/modules/admin.py +++ b/modules/admin.py @@ -135,3 +135,41 @@ class Module(ModuleManager.BaseModule): exc_info=True) return event["stdout"].write("Added server '%s'" % alias) + + @utils.hook("received.command.editserver") + @utils.kwarg("min_args", 3) + @utils.kwarg("help", "Edit server details") + @utils.kwarg("usage", "