summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorgeniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2007-06-15 14:30:04 +0000
committergeniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2007-06-15 14:30:04 +0000
commite16865f8bb591a460da35570372aef16ce7d7107 (patch)
treeea134222a77845027926af71a59fbd1ce103ddd0 /src
parentaa8ba0dc72391ddfaf0c31eee4a966970ff82270 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/servers.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/servers.c b/src/servers.c
index cef8e01b5..a2502bf8a 100644
--- a/src/servers.c
+++ b/src/servers.c
@@ -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 : ""));