]> jfr.im git - irc/rqf/shadowircd.git/commitdiff
Make override WALLOPS actually send netwide this time.
authorJD Horelick <redacted>
Mon, 8 Mar 2010 04:22:07 +0000 (23:22 -0500)
committerJD Horelick <redacted>
Mon, 8 Mar 2010 04:22:07 +0000 (23:22 -0500)
modules/core/m_kick.c
modules/m_invite.c
modules/m_topic.c
src/channel.c
src/chmode.c

index 937b05bcad8fcfbe10788edb160dfb9d54e7c9d2..b32bf9b73a97d712aa9e9ed41a2fa7ef4b83198c 100644 (file)
@@ -211,7 +211,7 @@ m_kick(struct Client *client_p, struct Client *source_p, int parc, const char *p
                                        get_oper_name(source_p), who->name, chptr->chname, comment);
                        sendto_server(NULL, chptr, NOCAPS, NOCAPS,
                                        ":%s WALLOPS :%s is overriding KICK [%s] on [%s] [%s]",
-                                       use_id(source_p), get_oper_name(source_p), who->name, chptr->chname, comment);
+                                       me.name, get_oper_name(source_p), who->name, chptr->chname, comment);
                }
 
                /* jdc
index f96194e87e750ecebf0dd34eebfe79c814f6cd08..8dd0a73596b763e757dba17d69fc296f8d87c8d4 100644 (file)
@@ -155,7 +155,7 @@ m_invite(struct Client *client_p, struct Client *source_p, int parc, const char
                                        get_oper_name(source_p), target_p->name, chptr->chname);
                        sendto_server(NULL, chptr, NOCAPS, NOCAPS,
                                        ":%s WALLOPS :%s is overriding INVITE [%s] on [%s]",
-                                       use_id(source_p), get_oper_name(source_p), target_p->name, chptr->chname);
+                                       me.name, get_oper_name(source_p), target_p->name, chptr->chname);
                }
                else
                {
index 4b6d44bb0bbd618ad599a9b524e65b9826535a1b..ff72fb4c23559e6b0cf7b7da04f51ae5450e6b5a 100644 (file)
@@ -125,7 +125,7 @@ m_topic(struct Client *client_p, struct Client *source_p, int parc, const char *
                                                get_oper_name(source_p), chptr->chname);
                                sendto_server(NULL, chptr, NOCAPS, NOCAPS,
                                                ":%s WALLOPS :%s is overriding TOPIC on [%s]",
-                                               use_id(source_p), get_oper_name(source_p), chptr->chname);
+                                               me.name, get_oper_name(source_p), chptr->chname);
                        }
                        else
                        {
index 02d5c3d52d88837fe032a64147f170e2959fb1e0..0191f1fb083529a46a909f82f266e66ef4f36401 100644 (file)
@@ -1818,7 +1818,7 @@ void user_join(struct Client * client_p, struct Client * source_p, const char *
                                        get_oper_name(source_p), chptr->chname);
                                sendto_server(NULL, chptr, NOCAPS, NOCAPS,
                                                ":%s WALLOPS :%s is overriding JOIN to [%s]",
-                                               use_id(source_p), get_oper_name(source_p), chptr->chname);
+                                               me.name, get_oper_name(source_p), chptr->chname);
                        }
                        else if ((i != ERR_NEEDREGGEDNICK && i != ERR_THROTTLE && i != ERR_INVITEONLYCHAN && i != ERR_CHANNELISFULL) ||
                            (!ConfigChannel.use_forward || (chptr = check_forward(source_p, chptr, key)) == NULL))
index a4b26bac1ffa4ff7e2e768b7028e5a8f6f68b060..23491f7582443ec4276283bce1baf427407497db 100644 (file)
@@ -804,7 +804,7 @@ chm_ban(struct Client *source_p, struct Channel *chptr,
                                                get_oper_name(source_p), chptr->chname, mode_type == CHFL_INVEX ? "invex" : "exempt");
                                sendto_server(NULL, chptr, NOCAPS, NOCAPS,
                                                ":%s WALLOPS :%s is overriding modes on %s: (%s list)",
-                                               use_id(source_p), get_oper_name(source_p), chptr->chname, mode_type == CHFL_INVEX ? "invex" : "exempt");
+                                               me.name, get_oper_name(source_p), chptr->chname, mode_type == CHFL_INVEX ? "invex" : "exempt");
                        }
                        else
                        {
@@ -2146,7 +2146,7 @@ set_channel_mode(struct Client *client_p, struct Client *source_p,
                                                                        get_oper_name(source_p), chptr->chname, modebuf, parabuf);
                                                        sendto_server(NULL, chptr, NOCAPS, NOCAPS,
                                                                        ":%s WALLOPS :%s is overriding modes on %s: %s %s",
-                                                                       use_id(source_p), get_oper_name(source_p), chptr->chname, modebuf, parabuf);
+                                                                       me.name, get_oper_name(source_p), chptr->chname, modebuf, parabuf);
                                                }
                                        }
                                        else
@@ -2193,7 +2193,7 @@ set_channel_mode(struct Client *client_p, struct Client *source_p,
                                                        get_oper_name(source_p), chptr->chname, modebuf, parabuf);
                                        sendto_server(NULL, chptr, NOCAPS, NOCAPS,
                                                        ":%s WALLOPS :%s is overriding modes on %s: %s %s",
-                                                       use_id(source_p), get_oper_name(source_p), chptr->chname, modebuf, parabuf);
+                                                       me.name, get_oper_name(source_p), chptr->chname, modebuf, parabuf);
                                }
                        }
                }