projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use putsock function instead of iohandler functions for login commands (PASS, USER...
[NeonServV5.git]
/
src
/
main.c
diff --git
a/src/main.c
b/src/main.c
index d585ada9e62872c3325a0f75219c8dc1554704de..5ab1efd0bd5f93ccce05657783bcdda7f8722484 100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-1,4
+1,4
@@
-/* main.c - NeonServ v5.
5
+/* main.c - NeonServ v5.
6
* Copyright (C) 2011-2012 Philipp Kreil (pk910)
*
* This program is free software: you can redistribute it and/or modify
* Copyright (C) 2011-2012 Philipp Kreil (pk910)
*
* This program is free software: you can redistribute it and/or modify
@@
-202,6
+202,8
@@
int main(int argc, char *argv[]) {
fprintf(stderr, "Unable to load " CONF_FILE "\n");
exit(0);
}
fprintf(stderr, "Unable to load " CONF_FILE "\n");
exit(0);
}
+ init_bind();
+ event_reload(1);
#if HAVE_THREADS
THREAD_MUTEX_INIT(log_sync);
#endif
#if HAVE_THREADS
THREAD_MUTEX_INIT(log_sync);
#endif
@@
-366,6
+368,7
@@
void stop_bot() {
void reload_config() {
loadConfig(CONF_FILE);
void reload_config() {
loadConfig(CONF_FILE);
+ event_reload(0);
}
static int getCurrentSecondsOfDay() {
}
static int getCurrentSecondsOfDay() {