diff --git a/modules/perform.cpp b/modules/perform.cpp index d67ac223..9a7f73ab 100644 --- a/modules/perform.cpp +++ b/modules/perform.cpp @@ -32,6 +32,12 @@ public: if (sCmdName == "add") { CString sPerf = sCommand.Token(1, true); + + if (sPerf.empty()) { + PutModule("Usage: add "); + return; + } + if (sPerf.Left(1) == "/") sPerf.LeftChomp();