projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
simplified modcmd system
[NeonServV5.git]
/
src
/
main.c
diff --git
a/src/main.c
b/src/main.c
index 7a7b9115d5d573ef9269248498547cfe3320babb..d6258a7598e5fce77fdb7b4116f27c68a681d30b 100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-1,4
+1,4
@@
-/* main.c - NeonServ v5.
0
+/* main.c - NeonServ v5.
2
* Copyright (C) 2011 Philipp Kreil (pk910)
*
* This program is free software: you can redistribute it and/or modify
* Copyright (C) 2011 Philipp Kreil (pk910)
*
* This program is free software: you can redistribute it and/or modify
@@
-31,6
+31,9
@@
#include "timeq.h"
#include "EventLogger.h"
#include "ModeNode.h"
#include "timeq.h"
#include "EventLogger.h"
#include "ModeNode.h"
+#include "IRCQueue.h"
+#include "DBHelper.h"
+#include "commands.h"
#include "lib/ini.h"
time_t start_time;
#include "lib/ini.h"
time_t start_time;
@@
-109,6
+112,7
@@
int main(void)
if(!load_mysql_config()) return 0;
if(!load_mysql_config()) return 0;
+ queue_init();
init_lang();
init_parser();
init_UserNode();
init_lang();
init_parser();
init_UserNode();
@@
-118,7
+122,9
@@
int main(void)
init_modcmd();
init_handleinfohandler();
init_tools();
init_modcmd();
init_handleinfohandler();
init_tools();
+ register_commands();
init_bots();
init_bots();
+ init_DBHelper();
load_languages();
load_languages();
@@
-132,6
+138,7
@@
int main(void)
loop_bots();
clearTempUsers();
destroyEvents();
loop_bots();
clearTempUsers();
destroyEvents();
+ queue_loop();
}
}
}
}