X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fcmd_users.cpp;h=97b9b247d5270ef17a11da0511cdf743ca05d845;hb=2b51585f8be4fe954b07416f75787ca48f1f1a27;hp=963f392c19006883cadd37c4624eaaeb65145cde;hpb=fea1a27cb96a114f698eedcf90401b78406108fb;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/cmd_users.cpp b/src/cmd_users.cpp index 963f392c1..97b9b247d 100644 --- a/src/cmd_users.cpp +++ b/src/cmd_users.cpp @@ -2,24 +2,26 @@ * | Inspire Internet Relay Chat Daemon | * +------------------------------------+ * - * InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev. - * E-mail: - * - * + * InspIRCd: (C) 2002-2007 InspIRCd Development Team + * See: http://www.inspircd.org/wiki/index.php/Credits * - * Written by Craig Edwards, Craig McLure, and others. * This program is free but copyrighted software; see * the file COPYING for details. * * --------------------------------------------------- */ +#include "inspircd.h" #include "users.h" -#include "commands.h" -#include "helperfuncs.h" #include "commands/cmd_users.h" -void cmd_users::Handle (const char** parameters, int pcnt, userrec *user) +extern "C" DllExport command_t* init_command(InspIRCd* Instance) +{ + return new cmd_users(Instance); +} + +CmdResult cmd_users::Handle (const char** parameters, int pcnt, userrec *user) { user->WriteServ("445 %s :USERS has been disabled (depreciated command)",user->nick); + return CMD_FAILURE; }