2005-12-16 18:10:38 +00:00
|
|
|
/* +------------------------------------+
|
|
|
|
* | Inspire Internet Relay Chat Daemon |
|
|
|
|
* +------------------------------------+
|
|
|
|
*
|
2007-05-15 16:11:12 +00:00
|
|
|
* InspIRCd is copyright (C) 2002-2007 ChatSpike-Dev.
|
2007-05-19 18:08:57 +00:00
|
|
|
* E-mail:
|
|
|
|
* <brain@chatspike.net>
|
|
|
|
* <Craig@chatspike.net>
|
2005-12-16 18:10:38 +00:00
|
|
|
*
|
|
|
|
* Written by Craig Edwards, Craig McLure, and others.
|
|
|
|
* This program is free but copyrighted software; see
|
2007-05-19 18:08:57 +00:00
|
|
|
* the file COPYING for details.
|
2005-12-16 18:10:38 +00:00
|
|
|
*
|
|
|
|
* ---------------------------------------------------
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __CMD_NICK_H__
|
|
|
|
#define __CMD_NICK_H__
|
|
|
|
|
|
|
|
// include the common header files
|
|
|
|
|
|
|
|
#include "users.h"
|
|
|
|
#include "channels.h"
|
|
|
|
|
2006-09-15 14:59:22 +00:00
|
|
|
/** Handle /NICK
|
|
|
|
*/
|
2005-12-16 18:10:38 +00:00
|
|
|
class cmd_nick : public command_t
|
|
|
|
{
|
|
|
|
public:
|
2007-05-19 18:08:57 +00:00
|
|
|
cmd_nick (InspIRCd* Instance) : command_t(Instance,"NICK",0,1,true) { syntax = "<newnick>"; }
|
|
|
|
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
|
2005-12-16 18:10:38 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|