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

CommandGlobops Class Reference

Handle /GLOBOPS. More...

Inheritance diagram for CommandGlobops:

Inheritance graph
[legend]
Collaboration diagram for CommandGlobops:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Detailed Description

Handle /GLOBOPS.

Definition at line 22 of file m_globops.cpp.


Constructor & Destructor Documentation

CommandGlobops::CommandGlobops InspIRCd Instance  )  [inline]
 

Definition at line 25 of file m_globops.cpp.

References Command::source, Command::syntax, TR_END, TR_TEXT, and TRANSLATE2.


Member Function Documentation

CmdResult CommandGlobops::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 32 of file m_globops.cpp.

References CMD_SUCCESS, User::nick, Command::ServerInstance, InspIRCd::SNO, and SnomaskManager::WriteToSnoMask().


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