1
0
mirror of https://github.com/anope/anope.git synced 2026-07-09 16:03:13 +02:00

BUILD : 1.7.19 (1250) BUGS : 718 NOTES : Fixed the fact that we did not send a receive-notification for the SQUIT for a juped server

git-svn-id: svn://svn.anope.org/anope/trunk@1250 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@969 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
2007-06-15 14:30:04 +00:00
parent aa8ba0dc72
commit e16865f8bb
3 changed files with 15 additions and 1 deletions
+9
View File
@@ -402,6 +402,15 @@ void do_squit(const char *source, int ac, char **av)
}
send_event(EVENT_SERVER_SQUIT, 1, s->name);
/* If this is a juped server, send a nice global to inform the online
* opers that we received it.
*/
if (s->flags & SERVER_JUPED) {
snprintf(buf, BUFSIZE, "Received SQUIT for juped server %s",
s->name);
anope_cmd_global(s_OperServ, buf);
}
snprintf(buf, sizeof(buf), "%s %s", s->name,
(s->uplink ? s->uplink->name : ""));