]> jfr.im git - solanum.git/blobdiff - extensions/m_findforwards.c
Stop using chm_nosuch as a sentinel value (#53)
[solanum.git] / extensions / m_findforwards.c
index 422197bfeb74f111e6154bf4698e9d8a6c93d2ce..9be22defa9fab444d1410a2ad465559b65058b95 100644 (file)
@@ -64,7 +64,7 @@ m_findforwards(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *
        *p = '\0';
 
        /* Allow ircops to search for forwards to nonexistent channels */
-       if(!IsOper(source_p))
+       if(!IsOperGeneral(source_p))
        {
                if((chptr = find_channel(parv[1])) == NULL || (msptr = find_channel_membership(chptr, source_p)) == NULL)
                {