#include "s_conf.h"
#include "snomask.h"
#include "numeric.h"
+#include "s_newconf.h"
static const char restrict_desc[] = "Restricts channel creation to authenticated users and IRC operators only";
{
struct Client *source_p = data->client;
- if (*source_p->user->suser == '\0' && !IsOper(source_p))
+ if (*source_p->user->suser == '\0' && !IsOperGeneral(source_p))
data->approved = ERR_NEEDREGGEDNICK;
}