X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/c51d32ba80bf2a98ee9b15c74592195ce7406d12..5b453fee2ae6ae6e0a3c4e4cc246acc8dfab3a58:/extensions/m_findforwards.c diff --git a/extensions/m_findforwards.c b/extensions/m_findforwards.c index 79bdeea..4afe564 100644 --- a/extensions/m_findforwards.c +++ b/extensions/m_findforwards.c @@ -23,7 +23,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" @@ -49,7 +49,6 @@ DECLARE_MODULE_AV1(findforwards, NULL, NULL, findforwards_clist, NULL, NULL, "$R /* ** mo_findforwards -** parv[0] = sender prefix ** parv[1] = channel */ static int @@ -73,7 +72,7 @@ m_findforwards(struct Client *client_p, struct Client *source_p, int parc, const return 0; } - if(!is_chanop(msptr)) + if(!is_any_op(msptr)) { sendto_one(source_p, form_str(ERR_CHANOPRIVSNEEDED), me.name, source_p->name, parv[1]);