X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2Fmain.c;h=17b8258c5110fd17760cce6313f4d5a2154d11d8;hb=54f5c32fe2b9f96510a00aae553494496b90e243;hp=08193780344d6b59b4257ececd6c636b4342c824;hpb=ee3a72eb4a412a0a504d070db1b41c6907f7604d;p=NeonServV5.git diff --git a/src/main.c b/src/main.c index 0819378..17b8258 100644 --- a/src/main.c +++ b/src/main.c @@ -1,4 +1,4 @@ -/* main.c - NeonServ v5.4 +/* main.c - NeonServ v5.5 * Copyright (C) 2011-2012 Philipp Kreil (pk910) * * This program is free software: you can redistribute it and/or modify @@ -209,6 +209,8 @@ int main(int argc, char *argv[]) { fprintf(stderr, "Unable to load " CONF_FILE "\n"); exit(0); } + init_bind(); + event_reload(1); #if HAVE_THREADS THREAD_MUTEX_INIT(log_sync); #endif @@ -412,6 +414,7 @@ void stop_bot() { void reload_config() { loadConfig(CONF_FILE); + event_reload(0); } static int getCurrentSecondsOfDay() {