|
|||
|
|||
|
Inheritance diagram for CommandChghost:


Public Member Functions | |
| CommandChghost (InspIRCd *Instance, char *hmap) | |
| CmdResult | Handle (const std::vector< std::string > ¶meters, User *user) |
| Handle the command from a user. | |
Private Attributes | |
| char * | hostmap |
Definition at line 20 of file m_chghost.cpp.
|
||||||||||||
|
Definition at line 25 of file m_chghost.cpp. References Command::source, Command::syntax, TR_END, TR_NICK, TR_TEXT, and TRANSLATE3. |
|
||||||||||||
|
Handle the command from a user.
Implements Command. Definition at line 32 of file m_chghost.cpp. References User::ChangeDisplayedHost(), CMD_FAILURE, CMD_LOCALONLY, CMD_SUCCESS, User::dhost, ERR_NOSUCHNICK, InspIRCd::FindNick(), hostmap, IS_LOCAL, User::nick, User::server, Command::ServerInstance, InspIRCd::SNO, InspIRCd::ULine(), User::WriteNumeric(), User::WriteServ(), and SnomaskManager::WriteToSnoMask(). |
|
|
Definition at line 23 of file m_chghost.cpp. Referenced by Handle(). |