#include "module.h" #define AUTHOR "satmd" #define VERSION "1.00" /* ----------------------------------------------------------- * Name : os_rawservicesrootonly * ----------------------------------------------------------- */ /* ---------------------------------------------------------------------- */ /* START OF CONFIGURATION BLOCK - please read the comments :) */ /* ---------------------------------------------------------------------- */ /* ---------------------------------------------------------------------- */ /* DO NOT EDIT BELOW THIS LINE UNLESS YOU KNOW WHAT YOU ARE DOING */ /* ---------------------------------------------------------------------- */ int m_bs_nosayact(User *u); int AnopeInit(int argc, char **argv) { Command *c; c = createCommand("SAY", m_bs_nosayact, is_services_oper,-1,-1,-1,-1,-1); moduleAddCommand(BOTSERV, c, MOD_HEAD); alog("[bs_nosayact] BotServ SAY is now restricted to Services Opers."); alog("[bs_nosayact] BotServ ACT is now restricted to Services Opers."); alog("[bs_nosayact] Yayness!(tm) - MODULE LOADED AND ACTIVE"); moduleAddAuthor(AUTHOR); moduleAddVersion(VERSION); alog("[bs_nosayact] This module has loaded and is now active."); return MOD_CONT; } int m_bs_nosayact(User *u) { return MOD_CONT; }