X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;ds=sidebyside;f=include%2Fcommands%2Fcmd_user.h;h=b416225d5a624eccde9be7eb3b289edccdbd1d77;hb=7fc5d102dba6adf56f13a2ee390f1cf43f6a1a07;hp=919078193e648810bb1a3e72141a3135e2f130ba;hpb=5b8d2c4cabec5e6bb7aaf359e6cf6af9635c8dab;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/commands/cmd_user.h b/include/commands/cmd_user.h index 919078193..b416225d5 100644 --- a/include/commands/cmd_user.h +++ b/include/commands/cmd_user.h @@ -2,14 +2,14 @@ * | Inspire Internet Relay Chat Daemon | * +------------------------------------+ * - * InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev. - * E-mail: - * - * + * InspIRCd is copyright (C) 2002-2007 ChatSpike-Dev. + * E-mail: + * + * * * Written by Craig Edwards, Craig McLure, and others. * This program is free but copyrighted software; see - * the file COPYING for details. + * the file COPYING for details. * * --------------------------------------------------- */ @@ -22,11 +22,16 @@ #include "users.h" #include "channels.h" +/** Handle /USER. These command handlers can be reloaded by the core, + * and handle basic RFC1459 commands. Commands within modules work + * the same way, however, they can be fully unloaded, where these + * may not. + */ class cmd_user : public command_t { public: - cmd_user (InspIRCd* Instance) : command_t(Instance,"USER",0,4) { syntax = " "; } - void Handle(const char** parameters, int pcnt, userrec *user); + cmd_user (InspIRCd* Instance) : command_t(Instance,"USER",0,4,true) { syntax = " "; } + CmdResult Handle(const char** parameters, int pcnt, userrec *user); }; #endif