From de5a209e56a3296e70b63a94e014fbc0485e38cc Mon Sep 17 00:00:00 2001 From: Valaris Date: Sun, 5 Feb 2006 17:53:53 +0000 Subject: * Added some of eAIRC bot code, written by me and LittleWolf. It is disabled and has no configuration options yet, as it is not finished. [Valaris] git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5201 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/map.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/map/map.c') diff --git a/src/map/map.c b/src/map/map.c index ab2a13ec7..f69af6d7c 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -47,6 +47,7 @@ #include "charsave.h" +#include "irc.h" // maybe put basic macros to somewhere else #define swap(a,b) ((a == b) || ((a ^= b), (b ^= a), (a ^= b))) @@ -3676,6 +3677,7 @@ void do_final(void) { do_final_pet(); do_final_mob(); do_final_msg(); + do_final_irc(); map_getallusers(NULL); //Clear the memory allocated for this array. @@ -3872,6 +3874,7 @@ int do_init(int argc, char *argv[]) { add_timer_func_list(map_removemobs_timer, "map_removemobs_timer"); add_timer_interval(gettick()+1000, map_freeblock_timer, 0, 0, 60*1000); + do_init_irc(); do_init_atcommand(); do_init_battle(); do_init_chrif(); -- cgit v1.2.3-60-g2f50