]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - extensions/m_findforwards.c
Automated merge with ssh://shadowircd/uranium/shadowircd/
[irc/rqf/shadowircd.git] / extensions / m_findforwards.c
index 79bdeea639705653699a9d5cd1be67be155d2d0c..4afe5641274cfb8abae358b73b7a0145aae01814 100644 (file)
@@ -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]);