]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - extensions/m_omode.c
Add description for LOCOPS message.
[irc/rqf/shadowircd.git] / extensions / m_omode.c
index f1407ffd186948f9e9104514d5c4bafa47ca4e73..03c9d32898e4b7a6aee455139736dba1162d8b3a 100644 (file)
@@ -55,7 +55,6 @@ DECLARE_MODULE_AV1(omode, NULL, NULL, omode_clist, NULL, NULL, "$Revision: 3121
 
 /*
  * mo_omode - MODE command handler
- * parv[0] - sender
  * parv[1] - channel
  */
 static int
@@ -140,9 +139,6 @@ mo_omode(struct Client *client_p, struct Client *source_p, int parc, const char
                                ":%s TMODE %ld %s +o %s",
                                me.id, (long) chptr->channelts, parv[1],
                                source_p->id);
-               sendto_server(NULL, chptr, NOCAPS, CAP_TS6,
-                               ":%s MODE %s +o %s",
-                               me.name, parv[1], source_p->name);
                msptr->flags |= CHFL_CHANOP;
        }
        else