From 6c191f64714bf75fb8b96b87cc38bc9fff706ae9 Mon Sep 17 00:00:00 2001 From: John Reese Date: Thu, 13 Jan 2011 22:51:53 -0500 Subject: [PATCH] Rearrange commands --- notifo.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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");