1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 13:43:12 +02:00

Properly set up our clients as on our server internally. Fixes crashes when trying to akick our own clients etc

This commit is contained in:
Adam
2010-07-10 21:18:22 -04:00
parent fa622aae38
commit a495213026
8 changed files with 4 additions and 7 deletions
+3
View File
@@ -318,6 +318,9 @@ int init_primary(int ac, char **av)
/* Add IRCD Protocol Module; exit if there are errors */
if (protocol_module_init())
return -1;
/* Create me */
Me = new Server(NULL, Config.ServerName, 0, Config.ServerDesc, (Config.Numeric ? Config.Numeric : ""));
/* First thing, add our core bots internally. Before modules are loaded and before the database is read
* This is used for modules adding commands and for the BotInfo* poiners in the command classes.