diff options
author | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2007-07-09 11:09:33 +0000 |
---|---|---|
committer | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2007-07-09 11:09:33 +0000 |
commit | 2a0c54c27c0b5755270e1ee14713a88fd0d56f50 (patch) | |
tree | a3b68f827d1055be880370abfb0c53b6c4b0596a /src | |
parent | 873125f4ae609c2daa044a6ddd31a8deb0a39161 (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/operserv.c | 5 |
1 files changed, 4 insertions, 1 deletions
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) |