From 2a0c54c27c0b5755270e1ee14713a88fd0d56f50 Mon Sep 17 00:00:00 2001 From: "geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b" Date: Mon, 9 Jul 2007 11:09:33 +0000 Subject: BUILD : 1.7.19 (1253) BUGS : 737 NOTES : Fixed GlobalOnCycle notices being sent to Anope itself and juped servers git-svn-id: svn://svn.anope.org/anope/trunk@1253 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@972 5417fbe8-f217-4b02-8779-1006273d7864 --- src/operserv.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/operserv.c b/src/operserv.c index 691b7faf2..55bc0d023 100644 --- a/src/operserv.c +++ b/src/operserv.c @@ -674,7 +674,10 @@ Server *server_global(Server * s, char *msg) Server *sl; while (s) { - notice_server(s_GlobalNoticer, s, "%s", msg); + /* Do not send the notice to ourselves our juped servers */ + if (!(s->flags & (SERVER_ISME | SERVER_JUPED))) + notice_server(s_GlobalNoticer, s, "%s", msg); + if (s->links) { sl = server_global(s->links, msg); if (sl) -- cgit