#include "s_conf.h"
#include "snomask.h"
#include "numeric.h"
+#include "s_newconf.h"
static const char restrict_desc[] = "Restricts channel creation to IRC operators";
{
struct Client *source_p = data->client;
- if (!IsOper(source_p))
+ if (!IsOperGeneral(source_p))
{
sendto_one_notice(source_p, ":*** Channel creation is restricted to network staff only.");
data->approved = ERR_NEEDREGGEDNICK;