|
|||
|
|||
|
Inheritance diagram for CommandRandquote:


Public Member Functions | |
| CommandRandquote (InspIRCd *Instance) | |
| CmdResult | Handle (const std::vector< std::string > ¶meters, User *user) |
| Handle the command from a user. | |
Definition at line 26 of file m_randquote.cpp.
|
|
Definition at line 29 of file m_randquote.cpp. References Command::source. |
|
||||||||||||
|
Handle the command from a user.
Implements Command. Definition at line 34 of file m_randquote.cpp. References CMD_FAILURE, CMD_LOCALONLY, FileReader::Exists(), FileReader::FileSize(), FileReader::GetLine(), User::nick, prefix, q_file, suffix, and User::WriteServ(). Referenced by ModuleRandQuote::OnUserConnect(). |