1 /* +------------------------------------+
2 * | Inspire Internet Relay Chat Daemon |
3 * +------------------------------------+
5 * InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev.
7 * <brain@chatspike.net>
8 * <Craig@chatspike.net>
10 * Written by Craig Edwards, Craig McLure, and others.
11 * This program is free but copyrighted software; see
12 * the file COPYING for details.
14 * ---------------------------------------------------
17 #include "configreader.h"
20 #include "helperfuncs.h"
21 #include "commands/cmd_wallops.h"
24 extern std::vector<Module*> modules;
25 extern std::vector<ircd_module*> factory;
26 extern ServerConfig* Config;
28 void cmd_wallops::Handle (char **parameters, int pcnt, userrec *user)
30 WriteWallOps(user,false,"%s",parameters[0]);
31 FOREACH_MOD(I_OnWallops,OnWallops(user,parameters[0]));