Inherits IRCDProto.

Public Member Functions | |
| InspIRCdProto (Module *creator) | |
Private Member Functions | |
| void | inspircd_cmd_chgident (const Anope::string &nick, const Anope::string &vIdent) |
| void | inspircd_cmd_chghost (const Anope::string &nick, const Anope::string &vhost) |
| void | SendGlobalNotice (const BotInfo *bi, const Server *dest, const Anope::string &msg) anope_override |
| void | SendGlobalPrivmsg (const BotInfo *bi, const Server *dest, const Anope::string &msg) anope_override |
| void | SendAkillDel (const XLine *x) anope_override |
| void | SendTopic (BotInfo *whosets, Channel *c) anope_override |
| void | SendVhostDel (User *u) anope_override |
| void | SendAkill (User *u, XLine *x) anope_override |
| void | SendSVSKillInternal (const BotInfo *source, User *user, const Anope::string &buf) anope_override |
| void | SendNumericInternal (int numeric, const Anope::string &dest, const Anope::string &buf) anope_override |
| void | SendModeInternal (const BotInfo *source, const Channel *dest, const Anope::string &buf) anope_override |
| void | SendModeInternal (const BotInfo *bi, const User *u, const Anope::string &buf) anope_override |
| void | SendClientIntroduction (const User *u) anope_override |
| void | SendServer (const Server *server) anope_override |
| void | SendJoin (const User *user, Channel *c, const ChannelStatus *status) anope_override |
| void | SendSQLineDel (const XLine *x) anope_override |
| void | SendSQLine (User *, const XLine *x) anope_override |
| void | SendVhost (User *u, const Anope::string &vIdent, const Anope::string &vhost) anope_override |
| void | SendConnect () anope_override |
| void | SendSVSHold (const Anope::string &nick) anope_override |
| void | SendSVSHoldDel (const Anope::string &nick) anope_override |
| void | SendSZLineDel (const XLine *x) anope_override |
| void | SendSZLine (User *, const XLine *x) anope_override |
| void | SendSVSJoin (const BotInfo *source, const User *u, const Anope::string &chan, const Anope::string &) anope_override |
| void | SendSVSPart (const BotInfo *source, const User *u, const Anope::string &chan, const Anope::string ¶m) anope_override |
| void | SendBOB () anope_override |
| void | SendEOB () anope_override |
| void | SendLogin (User *u) anope_override |
| void | SendLogout (User *u) anope_override |
Private Attributes | |
| Anope::string | current_pass |
Definition at line 22 of file inspircd11.cpp.
| InspIRCdProto::InspIRCdProto | ( | Module * | creator | ) | [inline] |
Definition at line 25 of file inspircd11.cpp.
References IRCDProto::CanSetVHost, IRCDProto::CanSetVIdent, IRCDProto::CanSNLine, IRCDProto::CanSQLine, IRCDProto::CanSVSHold, IRCDProto::CanSVSJoin, IRCDProto::CanSVSNick, IRCDProto::CanSVSO, IRCDProto::CanSZLine, IRCDProto::DefaultPseudoclientModes, and IRCDProto::MaxModes.
| void InspIRCdProto::inspircd_cmd_chghost | ( | const Anope::string & | nick, | |
| const Anope::string & | vhost | |||
| ) | [inline, private] |
Definition at line 55 of file inspircd11.cpp.
References Anope::string::empty(), has_chghostmod, and OperServ.
Referenced by SendVhost(), and SendVhostDel().
| void InspIRCdProto::inspircd_cmd_chgident | ( | const Anope::string & | nick, | |
| const Anope::string & | vIdent | |||
| ) | [inline, private] |
Definition at line 43 of file inspircd11.cpp.
References Anope::string::empty(), has_chgidentmod, and OperServ.
Referenced by SendVhost(), and SendVhostDel().
Sets an akill. This is a recursive function that can be called multiple times for the same xline, but for different users, if the xline is not one that can be enforced by the IRCd, such as a nick/user/host/realname combination ban.
| u | The user affected by the akill, if known | |
| x | The akill |
Implements IRCDProto.
Definition at line 113 of file inspircd11.cpp.
References XLineManager::AddXLine(), XLine::by, Anope::CurTime, XLine::expires, XLineManager::HasEntry(), XLine::id, IRCD, XLine::manager, XLine::mask, Me, OperServ, XLine::reason, IRCDProto::SendSZLine(), and UserListByNick.
| void InspIRCdProto::SendAkillDel | ( | const XLine * | x | ) | [inline, private, virtual] |
Implements IRCDProto.
Definition at line 77 of file inspircd11.cpp.
References IRCD, OperServ, and IRCDProto::SendSZLineDel().
| void InspIRCdProto::SendBOB | ( | ) | [inline, private, virtual] |
Called right before we begin our burst, after we have handshaked successfully with the uplink/ At this point none of our servesr, users, or channels exist on the uplink
Reimplemented from IRCDProto.
Definition at line 303 of file inspircd11.cpp.
References Anope::CurTime.
| void InspIRCdProto::SendClientIntroduction | ( | const User * | u | ) | [inline, private, virtual] |
Introduces a client to the rest of the network
| u | The client to introduce |
Implements IRCDProto.
Definition at line 192 of file inspircd11.cpp.
References Me.
| void InspIRCdProto::SendConnect | ( | ) | [inline, private, virtual] |
Used to introduce ourselves to our uplink. Usually will SendServer(Me) and any other initial handshake requirements.
Implements IRCDProto.
Definition at line 253 of file inspircd11.cpp.
References Config, current_pass, Anope::CurrentUplink, ENCRYPTION, ModuleManager::FindFirstOf(), Server::GetName(), IRCDProto::GetProtocolName(), Me, Module::name, SendServer(), ServerConfig::Uplinks, Anope::Version(), and Anope::VersionBuildString().
| void InspIRCdProto::SendEOB | ( | ) | [inline, private, virtual] |
Reimplemented from IRCDProto.
Definition at line 308 of file inspircd11.cpp.
| void InspIRCdProto::SendGlobalNotice | ( | const BotInfo * | bi, | |
| const Server * | dest, | |||
| const Anope::string & | msg | |||
| ) | [inline, private, virtual] |
Implements IRCDProto.
Definition at line 67 of file inspircd11.cpp.
| void InspIRCdProto::SendGlobalPrivmsg | ( | const BotInfo * | bi, | |
| const Server * | dest, | |||
| const Anope::string & | msg | |||
| ) | [inline, private, virtual] |
Implements IRCDProto.
Definition at line 72 of file inspircd11.cpp.
| void InspIRCdProto::SendJoin | ( | const User * | u, | |
| Channel * | c, | |||
| const ChannelStatus * | status | |||
| ) | [inline, private, virtual] |
Joins one of our users to a channel.
| u | The user to join | |
| c | The channel to join the user to | |
| status | The status to set on the user after joining. This may or may not already internally be set on the user. This may include the modes in the join, but will usually place them on the mode stacker to be set "soon". |
Implements IRCDProto.
Definition at line 206 of file inspircd11.cpp.
References ModeManager::ChannelModes, BotInfo::Find(), ChannelStatus::modes, and ChanUserContainer::status.
| void InspIRCdProto::SendLogin | ( | User * | u | ) | [inline, private, virtual] |
| void InspIRCdProto::SendLogout | ( | User * | u | ) | [inline, private, virtual] |
Implements IRCDProto.
Definition at line 322 of file inspircd11.cpp.
| void InspIRCdProto::SendModeInternal | ( | const BotInfo * | source, | |
| const Channel * | dest, | |||
| const Anope::string & | buf | |||
| ) | [inline, private, virtual] |
| void InspIRCdProto::SendModeInternal | ( | const BotInfo * | bi, | |
| const User * | u, | |||
| const Anope::string & | buf | |||
| ) | [inline, private, virtual] |
| void InspIRCdProto::SendNumericInternal | ( | int | numeric, | |
| const Anope::string & | dest, | |||
| const Anope::string & | buf | |||
| ) | [inline, private, virtual] |
Reimplemented from IRCDProto.
Definition at line 171 of file inspircd11.cpp.
References Server::GetName(), and Me.
| void InspIRCdProto::SendServer | ( | const Server * | ) | [inline, private, virtual] |
Introduces a server to the uplink
Implements IRCDProto.
Definition at line 200 of file inspircd11.cpp.
References current_pass, and Me.
Referenced by SendConnect().
Reimplemented from IRCDProto.
Definition at line 234 of file inspircd11.cpp.
References Anope::CurTime, and Me.
| void InspIRCdProto::SendSQLineDel | ( | const XLine * | x | ) | [inline, private, virtual] |
| void InspIRCdProto::SendSVSHold | ( | const Anope::string & | nick | ) | [inline, private, virtual] |
Reimplemented from IRCDProto.
Definition at line 263 of file inspircd11.cpp.
References Config, ServerConfig::NSReleaseTimeout, and OperServ.
| void InspIRCdProto::SendSVSHoldDel | ( | const Anope::string & | nick | ) | [inline, private, virtual] |
| void InspIRCdProto::SendSVSJoin | ( | const BotInfo * | bi, | |
| const User * | u, | |||
| const Anope::string & | chan, | |||
| const Anope::string & | param | |||
| ) | [inline, private, virtual] |
Force joins a user that isn't ours to a channel.
| bi | The source of the message | |
| u | The user to join | |
| chan | The channel to join the user to | |
| param | Channel key? |
Reimplemented from IRCDProto.
Definition at line 290 of file inspircd11.cpp.
References User::GetUID().
| void InspIRCdProto::SendSVSKillInternal | ( | const BotInfo * | source, | |
| User * | user, | |||
| const Anope::string & | buf | |||
| ) | [inline, private, virtual] |
Reimplemented from IRCDProto.
Definition at line 157 of file inspircd11.cpp.
References Server::GetName(), and Me.
| void InspIRCdProto::SendSVSPart | ( | const BotInfo * | bi, | |
| const User * | u, | |||
| const Anope::string & | chan, | |||
| const Anope::string & | param | |||
| ) | [inline, private, virtual] |
Force parts a user that isn't ours from a channel.
| bi | The source of the message | |
| u | The user to part | |
| chan | The channel to part the user from | |
| param | part reason, some IRCds don't support this |
Reimplemented from IRCDProto.
Definition at line 295 of file inspircd11.cpp.
Reimplemented from IRCDProto.
Definition at line 281 of file inspircd11.cpp.
References Anope::CurTime, and Me.
| void InspIRCdProto::SendSZLineDel | ( | const XLine * | x | ) | [inline, private, virtual] |
Sets the topic on a channel
| bi | The bot to set the topic from | |
| c | The channel to set the topic on. The topic being set is Channel::topic |
Reimplemented from IRCDProto.
Definition at line 97 of file inspircd11.cpp.
| void InspIRCdProto::SendVhost | ( | User * | u, | |
| const Anope::string & | vident, | |||
| const Anope::string & | vhost | |||
| ) | [inline, private, virtual] |
Sets a vhost on a user.
| u | The user | |
| vident | The ident to set | |
| vhost | The vhost to set |
Reimplemented from IRCDProto.
Definition at line 245 of file inspircd11.cpp.
References inspircd_cmd_chghost(), and inspircd_cmd_chgident().
| void InspIRCdProto::SendVhostDel | ( | User * | u | ) | [inline, private, virtual] |
Reimplemented from IRCDProto.
Definition at line 102 of file inspircd11.cpp.
References has_chgidentmod, inspircd_cmd_chghost(), and inspircd_cmd_chgident().
Anope::string InspIRCdProto::current_pass [private] |
Definition at line 41 of file inspircd11.cpp.
Referenced by SendConnect(), and SendServer().
1.7.1