X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/a64c5173a79fe18b4d2ae28d824b785a888ddada..5274a6d761a756725be24da301b61f94ea87f63e:/extensions/m_omode.c diff --git a/extensions/m_omode.c b/extensions/m_omode.c index cb2b0d3..c00974e 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" @@ -140,9 +140,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