1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 05:26:37 +02:00

Made anoperc stop/restart send the cycleonglobal, and fixed logfiles to be opened with append not truncate

This commit is contained in:
Adam
2010-10-04 21:46:15 -04:00
parent 592060ac75
commit 10833f9d3f
4 changed files with 11 additions and 7 deletions
+4 -1
View File
@@ -277,6 +277,9 @@ void sighandler(int signum)
Log() << "Received " << strsignal(signum) << " signal (" << signum << "), exiting.";
if (Config->GlobalOnCycle)
oper_global("", "%s", Config->GlobalOnCycleMessage.c_str());
expire_all();
save_databases();
default:
@@ -489,7 +492,7 @@ int main(int ac, char **av, char **envp)
User *u = it->second;
++it;
if (!findbot(u->nick))
if (u->server != Me)
delete u;
}