]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/m_capab.c
Allow /ojoin !#channel/%#channel, if admin/halfop are enabled.
[irc/rqf/shadowircd.git] / modules / m_capab.c
index 650d8ab43324ad58f807b43b602df4b795cc974a..227a9972f4e6b5109644338e3b2437e0281d56c3 100644 (file)
@@ -96,23 +96,6 @@ mr_capab(struct Client *client_p, struct Client *source_p, int parc, const char
                }
        }
 
-       /* check to ensure any "required" caps are set. --nenolod */
-       for (cap = captab; cap->name; cap++)
-       {
-               if (!cap->required)
-                       continue;
-
-               if (!(client_p->localClient->caps & cap->cap))
-               {
-                       char exitbuf[BUFSIZE];
-
-                       rb_snprintf(exitbuf, BUFSIZE, "Missing required CAPAB [%s]", cap->cap);
-                       exit_client(client_p, client_p, client_p, exitbuf);
-
-                       return 0;
-               }
-       }
-
        return 0;
 }