X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/a64c5173a79fe18b4d2ae28d824b785a888ddada..6e5b8a5decaa3a83b190777d1e84b09a7e157db4:/extensions/m_omode.c?ds=sidebyside diff --git a/extensions/m_omode.c b/extensions/m_omode.c index cb2b0d3..03c9d32 100644 --- a/extensions/m_omode.c +++ b/extensions/m_omode.c @@ -29,7 +29,7 @@ #include "channel.h" #include "client.h" #include "hash.h" -#include "irc_string.h" +#include "match.h" #include "ircd.h" #include "numeric.h" #include "s_user.h" @@ -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