Commits

jdhore committed 2a342f1

Make override WALLOPS actually send netwide this time.

Comments (0)

Files changed (5)

modules/core/m_kick.c

 					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

modules/m_invite.c

 					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
 		{

modules/m_topic.c

 						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
 			{
 					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))
 						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
 			{
 									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
 							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);
 				}
 			}
 		}