]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/m_capab.c
Enforce TS rules on MLOCKs.
[irc/rqf/shadowircd.git] / modules / m_capab.c
index 650d8ab43324ad58f807b43b602df4b795cc974a..8d078b57d4ad8017b1c786114cf1256ca9fa5073 100644 (file)
@@ -21,7 +21,6 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
  *  USA
  *
- *  $Id: m_capab.c 1295 2006-05-08 13:05:25Z nenolod $
  */
 
 #include "stdinc.h"
@@ -96,23 +95,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;
 }