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 | |
| 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
| -rw-r--r-- | Changes | 1 | ||||
| -rw-r--r-- | src/operserv.c | 5 | ||||
| -rw-r--r-- | version.log | 6 |
3 files changed, 10 insertions, 2 deletions
@@ -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 |
