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:
+4
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user