#include "module.h" #define AUTHOR "Cards" #define VERSION "1.00" /* ----------------------------------------------------------- * Name : cs_disablelevels * Author: cards * Date : 01/01/2004 * Thanks to SGR for his template * ----------------------------------------------------------- * Functions: m_cs_disable_levels * Limitations: None Known * Tested: Unreal(3.2) * ----------------------------------------------------------- * This version has been tested on Unreal. * * This module Disables the Use of the ChanServ level Command. * * This module has no configurable options. * * Version Changes: * * 1: Works. * ----------------------------------------------------------- */ /* ---------------------------------------------------------------------- */ /* START OF CONFIGURATION BLOCK - please read the comments :) */ /* ---------------------------------------------------------------------- */ /* ---------------------------------------------------------------------- */ /* DO NOT EDIT BELOW THIS LINE UNLESS YOU KNOW WHAT YOU ARE DOING */ /* ---------------------------------------------------------------------- */ int m_cs_disable_levels(User *u); int AnopeInit(int argc, char **argv) { Command *c; c = createCommand("LEVELS",m_cs_disable_levels, NULL,-1,-1,-1,-1,-1); moduleAddCommand(CHANSERV, c, MOD_HEAD); moduleAddAuthor(AUTHOR); moduleAddVersion(VERSION); alog("[cs_disablelevels] This module has loaded and is now active."); return MOD_CONT; } int m_cs_disable_levels(User *u) { notice(s_ChanServ,u->nick,"The levels command has been disabled by the Services Admin."); return MOD_STOP; }