The InspIRCd Project
Home | Developers | Wiki | Forums | Bug Tracker | SVN | Download
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

CommandChgident Class Reference

Handle /CHGIDENT. More...

Inheritance diagram for CommandChgident:

Inheritance graph
[legend]
Collaboration diagram for CommandChgident:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CommandChgident (InspIRCd *Instance)
CmdResult Handle (const std::vector< std::string > &parameters, User *user)
 Handle the command from a user.

Detailed Description

Handle /CHGIDENT.

Definition at line 20 of file m_chgident.cpp.


Constructor & Destructor Documentation

CommandChgident::CommandChgident InspIRCd Instance  )  [inline]
 

Definition at line 23 of file m_chgident.cpp.

References Command::source, Command::syntax, TR_END, TR_NICK, TR_TEXT, and TRANSLATE3.


Member Function Documentation

CmdResult CommandChgident::Handle const std::vector< std::string > &  parameters,
User user
[inline, virtual]
 

Handle the command from a user.

Parameters:
parameters The parameters for the command.
user The user who issued the command.
Returns:
Return CMD_SUCCESS on success, or CMD_FAILURE on failure. If the command succeeds but should remain local to this server, return CMD_LOCALONLY.

Implements Command.

Definition at line 30 of file m_chgident.cpp.

References User::ChangeIdent(), CMD_FAILURE, CMD_SUCCESS, InspIRCd::Config, ERR_NOSUCHNICK, InspIRCd::FindNick(), User::ident, ServerLimits::IdentMax, InspIRCd::IsIdent, ServerConfig::Limits, User::nick, User::server, Command::ServerInstance, InspIRCd::SNO, InspIRCd::ULine(), User::WriteNumeric(), User::WriteServ(), and SnomaskManager::WriteToSnoMask().


The documentation for this class was generated from the following file: