]> jfr.im git - irc/rizon/plexus4.git/commitdiff
m_opme: use snomask instead of announce
authorAdam <redacted>
Sat, 12 Jan 2019 15:25:17 +0000 (10:25 -0500)
committerAdam <redacted>
Sat, 12 Jan 2019 15:25:17 +0000 (10:25 -0500)
extra/m_opme.c

index 765ca09975577fc9c95805d1be0659ff5b67e189..d8965efc9653faaa374b9857221e832b41d9a2fb 100644 (file)
@@ -71,9 +71,10 @@ mo_opme(struct Client *client_p, struct Client *source_p, int parc, char *parv[]
   if (has_member_flags(member, CHFL_CHANOP))
     return;
 
-  announce("OPME called for [%s] by %s!%s@%s",
-           chptr->chname, source_p->name, source_p->username,
-           source_p->host);
+  sendto_snomask(SNO_ALL, L_ALL | SNO_ROUTE,
+                 "OPME called for [%s] by %s!%s@%s",
+                 chptr->chname, source_p->name, source_p->username,
+                 source_p->host);
 
   AddMemberFlag(member, CHFL_CHANOP);