1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 11:36:38 +02:00

Rewrote how commands are handled within Anope.

This allows naming commands and having spaces within command names.
This commit is contained in:
Adam
2011-07-14 02:31:12 -04:00
parent 924f6849fe
commit f858164dee
227 changed files with 8808 additions and 12352 deletions
+2 -7
View File
@@ -1,5 +1,6 @@
#include "services.h"
#include <stack>
#include "modules.h"
#include "commands.h"
std::vector<Anope::string> languages;
std::vector<Anope::string> domains;
@@ -94,9 +95,3 @@ const char *anope_gettext(const char *lang, const char *string)
}
#endif
void SyntaxError(CommandSource &source, const Anope::string &command, const Anope::string &message)
{
source.Reply(_("Syntax: \002%s\002"), message.c_str());
source.Reply(_(_(MORE_INFO)), Config->UseStrictPrivMsgString.c_str(), source.owner->nick.c_str(), command.c_str());
}