#include <protocol.h>
Inherited by BahamutIRCdMessage, InspircdIRCdMessage, InspircdIRCdMessage, PlexusIRCdMessage, RatboxIRCdMessage, and Unreal32IRCdMessage.
Public Member Functions | |
| virtual bool | On436 (const Anope::string &, const std::vector< Anope::string > &) |
| virtual bool | OnAway (const Anope::string &, const std::vector< Anope::string > &) |
| virtual bool | OnJoin (const Anope::string &, const std::vector< Anope::string > &) |
| virtual bool | OnKick (const Anope::string &, const std::vector< Anope::string > &) |
| virtual bool | OnKill (const Anope::string &, const std::vector< Anope::string > &) |
| virtual bool | OnMode (const Anope::string &, const std::vector< Anope::string > &)=0 |
| virtual bool | OnUID (const Anope::string &, const std::vector< Anope::string > &) |
| virtual bool | OnNick (const Anope::string &, const std::vector< Anope::string > &)=0 |
| virtual bool | OnPart (const Anope::string &, const std::vector< Anope::string > &) |
| virtual bool | OnPing (const Anope::string &, const std::vector< Anope::string > &) |
| virtual bool | OnPrivmsg (const Anope::string &, const std::vector< Anope::string > &) |
| virtual bool | OnQuit (const Anope::string &, const std::vector< Anope::string > &) |
| virtual bool | OnServer (const Anope::string &, const std::vector< Anope::string > &)=0 |
| virtual bool | OnSQuit (const Anope::string &, const std::vector< Anope::string > &) |
| virtual bool | OnTopic (const Anope::string &, const std::vector< Anope::string > &)=0 |
| virtual bool | OnWhois (const Anope::string &, const std::vector< Anope::string > &) |
| virtual bool | OnCapab (const Anope::string &, const std::vector< Anope::string > &) |
| virtual bool | OnSJoin (const Anope::string &, const std::vector< Anope::string > &)=0 |
| virtual bool | OnError (const Anope::string &, const std::vector< Anope::string > &) |
Definition at line 123 of file protocol.h.
| bool IRCdMessage::On436 | ( | const Anope::string & | , | |
| const std::vector< Anope::string > & | params | |||
| ) | [virtual] |
Definition at line 325 of file protocol.cpp.
References introduce_user().
| bool IRCdMessage::OnAway | ( | const Anope::string & | source, | |
| const std::vector< Anope::string > & | params | |||
| ) | [virtual] |
Definition at line 332 of file protocol.cpp.
References finduser(), FOREACH_MOD, and I_OnUserAway.
| bool IRCdMessage::OnCapab | ( | const Anope::string & | , | |
| const std::vector< Anope::string > & | params | |||
| ) | [virtual] |
Reimplemented in InspircdIRCdMessage, InspircdIRCdMessage, Inspircd12IRCdMessage, Inspircd20IRCdMessage, and Unreal32IRCdMessage.
Definition at line 562 of file protocol.cpp.
References Capab.
| bool IRCdMessage::OnError | ( | const Anope::string & | , | |
| const std::vector< Anope::string > & | params | |||
| ) | [virtual] |
Definition at line 569 of file protocol.cpp.
References LOG_TERMINAL, and quitmsg.
| bool IRCdMessage::OnJoin | ( | const Anope::string & | source, | |
| const std::vector< Anope::string > & | params | |||
| ) | [virtual] |
Reimplemented in PlexusIRCdMessage, and RatboxIRCdMessage.
Definition at line 342 of file protocol.cpp.
References do_join().
Referenced by RatboxIRCdMessage::OnJoin(), and PlexusIRCdMessage::OnJoin().
| bool IRCdMessage::OnKick | ( | const Anope::string & | source, | |
| const std::vector< Anope::string > & | params | |||
| ) | [virtual] |
Definition at line 349 of file protocol.cpp.
References do_kick().
| bool IRCdMessage::OnKill | ( | const Anope::string & | source, | |
| const std::vector< Anope::string > & | params | |||
| ) | [virtual] |
Called on KILL [0] The nick [1] The reason
Definition at line 360 of file protocol.cpp.
References do_kill(), finduser(), introduce_user(), BotInfo::introduced, Me, User::nick, BotInfo::RejoinAll(), and User::server.
| virtual bool IRCdMessage::OnMode | ( | const Anope::string & | , | |
| const std::vector< Anope::string > & | ||||
| ) | [pure virtual] |
Implemented in BahamutIRCdMessage, InspircdIRCdMessage, InspircdIRCdMessage, PlexusIRCdMessage, RatboxIRCdMessage, and Unreal32IRCdMessage.
Referenced by event_fmode(), and event_opertype().
| virtual bool IRCdMessage::OnNick | ( | const Anope::string & | , | |
| const std::vector< Anope::string > & | ||||
| ) | [pure virtual] |
Implemented in BahamutIRCdMessage, InspircdIRCdMessage, InspircdIRCdMessage, PlexusIRCdMessage, RatboxIRCdMessage, and Unreal32IRCdMessage.
| bool IRCdMessage::OnPart | ( | const Anope::string & | source, | |
| const std::vector< Anope::string > & | params | |||
| ) | [virtual] |
Definition at line 387 of file protocol.cpp.
References do_part().
| bool IRCdMessage::OnPing | ( | const Anope::string & | , | |
| const std::vector< Anope::string > & | params | |||
| ) | [virtual] |
Definition at line 394 of file protocol.cpp.
References Config, IRCDProto::SendPong(), and ServerConfig::ServerName.
| bool IRCdMessage::OnPrivmsg | ( | const Anope::string & | source, | |
| const std::vector< Anope::string > & | params | |||
| ) | [virtual] |
Reimplemented in InspircdIRCdMessage.
Definition at line 401 of file protocol.cpp.
References _, Anope::string::begin(), Anope::string::c_str(), Config, Anope::string::empty(), ENCRYPTION, Anope::string::end(), Anope::string::erase(), EVENT_STOP, Anope::string::find(), findbot(), findchan(), ModuleManager::FindFirstOf(), finduser(), FOREACH_MOD, FOREACH_RESULT, I_OnBotPrivmsg, I_OnPrivmsg, Anope::string::length(), LOG_DEBUG, Module::name, IRCDVar::name, User::nick, Anope::string::npos, BotInfo::OnMessage(), IRCDProto::SendCTCP(), User::SendMessage(), IRCDProto::SendMessage(), ServerConfig::ServerName, Anope::string::substr(), ServerConfig::UseStrictPrivMsg, Anope::Version(), and Anope::VersionBuildString().
| bool IRCdMessage::OnQuit | ( | const Anope::string & | source, | |
| const std::vector< Anope::string > & | params | |||
| ) | [virtual] |
Definition at line 487 of file protocol.cpp.
References Anope::CurTime, Anope::string::empty(), findnick(), finduser(), FOREACH_MOD, I_OnUserQuit, User::IsIdentified(), User::IsRecognized(), NickAlias::last_quit, NickAlias::last_seen, NickAlias::nc, NI_SUSPENDED, and User::nick.
| virtual bool IRCdMessage::OnServer | ( | const Anope::string & | , | |
| const std::vector< Anope::string > & | ||||
| ) | [pure virtual] |
Implemented in BahamutIRCdMessage, InspircdIRCdMessage, InspircdIRCdMessage, PlexusIRCdMessage, RatboxIRCdMessage, and Unreal32IRCdMessage.
| virtual bool IRCdMessage::OnSJoin | ( | const Anope::string & | , | |
| const std::vector< Anope::string > & | ||||
| ) | [pure virtual] |
Implemented in BahamutIRCdMessage, InspircdIRCdMessage, InspircdIRCdMessage, PlexusIRCdMessage, RatboxIRCdMessage, and Unreal32IRCdMessage.
| bool IRCdMessage::OnSQuit | ( | const Anope::string & | source, | |
| const std::vector< Anope::string > & | params | |||
| ) | [virtual] |
Definition at line 511 of file protocol.cpp.
References Capab, Server::Delete(), Server::Find(), FOREACH_MOD, Server::GetName(), Server::GetUplink(), I_OnServerQuit, LOG_DEBUG, Me, and IRCDProto::SendSquit().
Referenced by event_rsquit().
| virtual bool IRCdMessage::OnTopic | ( | const Anope::string & | , | |
| const std::vector< Anope::string > & | ||||
| ) | [pure virtual] |
Implemented in BahamutIRCdMessage, InspircdIRCdMessage, InspircdIRCdMessage, PlexusIRCdMessage, RatboxIRCdMessage, and Unreal32IRCdMessage.
| bool IRCdMessage::OnUID | ( | const Anope::string & | source, | |
| const std::vector< Anope::string > & | params | |||
| ) | [virtual] |
Reimplemented in InspircdIRCdMessage, Inspircd12IRCdMessage, Inspircd20IRCdMessage, PlexusIRCdMessage, and RatboxIRCdMessage.
Definition at line 382 of file protocol.cpp.
| bool IRCdMessage::OnWhois | ( | const Anope::string & | source, | |
| const std::vector< Anope::string > & | params | |||
| ) | [virtual] |
Definition at line 539 of file protocol.cpp.
References Anope::string::c_str(), Config, Anope::CurTime, Anope::string::empty(), findbot(), finduser(), User::GetIdent(), User::host, BotInfo::lastmsg, Me, User::nick, User::realname, IRCDProto::SendNumeric(), User::server, ServerConfig::ServerDesc, ServerConfig::ServerName, and start_time.
1.7.1