X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fcmd_mode.cpp;h=4e4466d360d39bba536551dad3ced8c1e5c277a3;hb=bcf2e57d8125fceb2f573fe77ac122158aa75a13;hp=563fa75db17c0628ed7dcf5faf775232b8a159f5;hpb=bab14f0dd2345c9d7dcbc47c918563709e1ac094;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/cmd_mode.cpp b/src/cmd_mode.cpp index 563fa75db..4e4466d36 100644 --- a/src/cmd_mode.cpp +++ b/src/cmd_mode.cpp @@ -1 +1,29 @@ -/* +------------------------------------+ * | Inspire Internet Relay Chat Daemon | * +------------------------------------+ * * InspIRCd: (C) 2002-2007 InspIRCd Development Team * See: http://www.inspircd.org/wiki/index.php/Credits * * This program is free but copyrighted software; see * the file COPYING for details. * * --------------------------------------------------- */ #include "inspircd.h" #include "configreader.h" #include "users.h" #include "commands/cmd_mode.h" extern "C" DllExport command_t* init_command(InspIRCd* Instance) { return new cmd_mode(Instance); } /** Handle /MODE */ CmdResult cmd_mode::Handle (const char** parameters, int pcnt, userrec *user) { ServerInstance->Modes->Process(parameters, pcnt, user, false); return CMD_SUCCESS; } \ No newline at end of file +/* +------------------------------------+ + * | Inspire Internet Relay Chat Daemon | + * +------------------------------------+ + * + * InspIRCd: (C) 2002-2007 InspIRCd Development Team + * See: http://www.inspircd.org/wiki/index.php/Credits + * + * This program is free but copyrighted software; see + * the file COPYING for details. + * + * --------------------------------------------------- + */ + +#include "inspircd.h" +#include "commands/cmd_mode.h" + +extern "C" DllExport command_t* init_command(InspIRCd* Instance) +{ + return new cmd_mode(Instance); +} + +/** Handle /MODE + */ +CmdResult cmd_mode::Handle (const char** parameters, int pcnt, userrec *user) +{ + ServerInstance->Modes->Process(parameters, pcnt, user, false); + return CMD_SUCCESS; +} +