]> 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 e33ea1786dd65cd5e5c237c0960f693f247de9b8..4afe5641274cfb8abae358b73b7a0145aae01814 100644 (file)
@@ -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]);