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 --- Changes | 1 + src/operserv.c | 5 ++++- version.log | 6 +++++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/Changes b/Changes index 5e689ca5f..d1bf14fb2 100644 --- a/Changes +++ b/Changes @@ -5,6 +5,7 @@ Anope Version S V N 06/15 F Not informing opers a SQUIT for a juped server was received. [#718] 06/18 F OperServ MODINFO giving misleading errors. [#732] 07/09 F Various access levels for oper-commands. [#729] +07/09 F GlobalOnCycle notices being sent to Anope itself or juped servers.[#737] Anope Version 1.7.19 -------------------- 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) diff --git a/version.log b/version.log index c7805cfb1..8d161c879 100644 --- a/version.log +++ b/version.log @@ -9,10 +9,14 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="19" VERSION_EXTRA="-svn" -VERSION_BUILD="1252" +VERSION_BUILD="1253" # $Log$ # +# BUILD : 1.7.19 (1253) +# BUGS : 737 +# NOTES : Fixed GlobalOnCycle notices being sent to Anope itself and juped servers +# # BUILD : 1.7.19 (1252) # BUGS : 729 # NOTES : Fixed various access levels for oper commands -- cgit