diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-07-08 16:38:46 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-07-08 16:38:46 +0100 |
commit | 5131cb250acb2c458e4be42f4c1187fdac76fe26 (patch) | |
tree | 3ccb251918e5768d44686c9d590ba1c95afa0083 /prosodyctl | |
parent | 6776117801de68eddc5da5f793300e5919dbbca3 (diff) | |
download | prosody-5131cb250acb2c458e4be42f4c1187fdac76fe26.tar.gz prosody-5131cb250acb2c458e4be42f4c1187fdac76fe26.zip |
prosodyctl: Fix traceback when issued with no parameters
Diffstat (limited to 'prosodyctl')
-rwxr-xr-x | prosodyctl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -444,7 +444,7 @@ end --------------------- -if command:match("^mod_") then -- Is a command in a module +if command and command:match("^mod_") then -- Is a command in a module local module_name = command:match("^mod_(.+)"); local ret, err = modulemanager.load("*", module_name); if not ret then |