diff --git a/notifo.cpp b/notifo.cpp index 75f272e..340cba4 100644 --- a/notifo.cpp +++ b/notifo.cpp @@ -416,12 +416,6 @@ class CNotifoMod : public CModule PutModule(option + CString(": \"") + options[option] + CString("\"")); } } - // SEND command - else if (action == "send") - { - CString message = command.Token(1, true, " ", true); - send_message(message); - } // STATUS command else if (action == "status") { @@ -436,6 +430,12 @@ class CNotifoMod : public CModule PutModule(table); } + // SEND command + else if (action == "send") + { + CString message = command.Token(1, true, " ", true); + send_message(message); + } else { PutModule("Error: invalid command");