* 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"
}
}
- /* 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;
}