mirror of https://github.com/SeanOMik/znc-push.git
Rearrange commands
This commit is contained in:
parent
563b52bab7
commit
6c191f6471
12
notifo.cpp
12
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");
|
||||
|
|
Loading…
Reference in New Issue