1
0
mirror of https://github.com/anope/anope.git synced 2026-06-27 18:06:39 +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
+7
View File
@@ -11,6 +11,7 @@
#include "services.h"
#include "modules.h"
#include "oper.h"
Uplink *uplink_server;
@@ -401,6 +402,12 @@ void Init(int ac, char **av)
throw FatalException("You must load a protocol module!");
else if (ModuleManager::FindFirstOf(ENCRYPTION) == NULL)
throw FatalException("You must load at least one encryption module");
for (botinfo_map::iterator it = BotListByNick.begin(), it_end = BotListByNick.end(); it != it_end; ++it)
{
it->second->GenerateUID();
it->second->server = Me;
}
Log() << "Using IRCd protocol " << protocol->name;