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

CommandNicklock Class Reference

Handle /NICKLOCK. More...

Inheritance diagram for CommandNicklock:

Inheritance graph
[legend]
Collaboration diagram for CommandNicklock:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Private Attributes

char * dummy

Detailed Description

Handle /NICKLOCK.

Definition at line 20 of file m_nicklock.cpp.


Constructor & Destructor Documentation

CommandNicklock::CommandNicklock InspIRCd Instance  )  [inline]
 

Definition at line 24 of file m_nicklock.cpp.

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


Member Function Documentation

CmdResult CommandNicklock::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 31 of file m_nicklock.cpp.

References CMD_FAILURE, CMD_SUCCESS, InspIRCd::Config, dummy, Extensible::Extend(), InspIRCd::FindNick(), User::ForceNickChange(), Extensible::GetExt(), IS_LOCAL, InspIRCd::IsNick, ServerConfig::Limits, User::nick, ServerLimits::NickMax, UserManager::QuitUser(), Command::ServerInstance, InspIRCd::SNO, InspIRCd::Users, User::uuid, User::WriteNumeric(), and SnomaskManager::WriteToSnoMask().


Member Data Documentation

char* CommandNicklock::dummy [private]
 

Definition at line 22 of file m_nicklock.cpp.

Referenced by Handle().


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