summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/operserv.c5
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)