CommandWhowas Class Reference
Handle /WHOWAS.
More...
#include <cmd_whowas.h>
Inheritance diagram for CommandWhowas:
[legend]Collaboration diagram for CommandWhowas:
[legend]List of all members.
Detailed Description
Handle /WHOWAS.
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.
Definition at line 59 of file cmd_whowas.h.
Constructor & Destructor Documentation
| CommandWhowas::CommandWhowas |
( |
InspIRCd * |
Instance |
) |
|
|
| virtual CommandWhowas::~CommandWhowas |
( |
|
) |
[virtual] |
|
Member Function Documentation
| void CommandWhowas::AddToWhoWas |
( |
User * |
user |
) |
|
|
|
|
Handle command.
- Parameters:
-
| parameters | The parameters to the comamnd |
| pcnt | The number of parameters passed to teh command |
| user | The user issuing the command |
- Returns:
- A value from CmdResult to indicate command success or failure.
Implements Command. |
| CmdResult CommandWhowas::HandleInternal |
( |
const unsigned int |
id, |
|
|
const std::deque< classbase * > & |
parameters |
|
) |
[virtual] |
|
|
|
Handle an internal request from another command, the core, or a module.
- Parameters:
-
| Command | ID |
| Zero | or more parameters, whos form is specified by the command ID. |
- 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.
Reimplemented from Command. |
| void CommandWhowas::MaintainWhoWas |
( |
time_t |
t |
) |
|
|
| void CommandWhowas::PruneWhoWas |
( |
time_t |
t |
) |
|
|
Member Data Documentation
|
|
Whowas container, contains a map of vectors of users tracked by WHOWAS.
Definition at line 64 of file cmd_whowas.h. |
|
|
Whowas container, contains a map of time_t to users tracked by WHOWAS.
Definition at line 68 of file cmd_whowas.h. |
The documentation for this class was generated from the following file: