|
|||
|
|||
|


Public Member Functions | |
| CommandAccept (InspIRCd *Instance, unsigned int &max) | |
| virtual void | EncodeParameter (std::string ¶meter, int index) |
| Encode a parameter for server->server transmission. | |
| CmdResult | Handle (const std::vector< std::string > ¶meters, User *user) |
| Will take any number of nicks (up to MaxTargets), which can be seperated by commas. | |
| void | ListAccept (User *user) |
| bool | AddAccept (User *user, User *whotoadd, bool quiet) |
| bool | RemoveAccept (User *user, User *whotoremove, bool quiet) |
Private Attributes | |
| unsigned int & | maxaccepts |
Definition at line 123 of file m_callerid.cpp.
|
||||||||||||
|
Definition at line 128 of file m_callerid.cpp. References Command::source, Command::syntax, TR_CUSTOM, TR_END, and TRANSLATE2. |
|
||||||||||||||||
|
Definition at line 225 of file m_callerid.cpp. References callerid_data::accepting, GetData(), maxaccepts, User::nick, User::WriteNumeric(), and User::WriteServ(). Referenced by Handle(). |
|
||||||||||||
|
Encode a parameter for server->server transmission. Used for parameters for which the translation type is TR_CUSTOM.
Reimplemented from Command. Definition at line 135 of file m_callerid.cpp. References InspIRCd::FindNick(), irc::sepstream::GetToken(), Command::ServerInstance, and User::uuid. |
|
||||||||||||
|
Will take any number of nicks (up to MaxTargets), which can be seperated by commas.
Implements Command. Definition at line 178 of file m_callerid.cpp. References AddAccept(), CMD_FAILURE, CMD_LOCALONLY, CMD_SUCCESS, InspIRCd::FindNick(), IS_LOCAL, ListAccept(), CommandParser::LoopCall(), InspIRCd::Parser, RemoveAccept(), Command::ServerInstance, and User::WriteNumeric(). |
|
|
Definition at line 214 of file m_callerid.cpp. References callerid_data::accepting, GetData(), User::nick, and User::WriteNumeric(). Referenced by Handle(). |
|
||||||||||||||||
|
Definition at line 247 of file m_callerid.cpp. References callerid_data::accepting, GetData(), User::nick, User::WriteNumeric(), and User::WriteServ(). Referenced by Handle(). |
|
|
Definition at line 126 of file m_callerid.cpp. Referenced by AddAccept(). |