Rearrange commands

This commit is contained in:
John Reese 2011-01-13 22:51:53 -05:00
parent 563b52bab7
commit 6c191f6471
1 changed files with 6 additions and 6 deletions

View File

@ -416,12 +416,6 @@ class CNotifoMod : public CModule
PutModule(option + CString(": \"") + options[option] + CString("\"")); PutModule(option + CString(": \"") + options[option] + CString("\""));
} }
} }
// SEND command
else if (action == "send")
{
CString message = command.Token(1, true, " ", true);
send_message(message);
}
// STATUS command // STATUS command
else if (action == "status") else if (action == "status")
{ {
@ -436,6 +430,12 @@ class CNotifoMod : public CModule
PutModule(table); PutModule(table);
} }
// SEND command
else if (action == "send")
{
CString message = command.Token(1, true, " ", true);
send_message(message);
}
else else
{ {
PutModule("Error: invalid command"); PutModule("Error: invalid command");