diff options
| author | Adam <Adam@anope.org> | 2013-07-26 08:45:44 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2013-07-26 08:45:44 -0400 |
| commit | 3dc64bac4d436ba27683270b88c0cc5bfa346acc (patch) | |
| tree | aa1dd95d1c5d4618c06cb8662d9d888c0e5793c8 /modules/protocol | |
| parent | 2450a64bf4dc55635c9f4c1c829f149dc6621b41 (diff) | |
Fix issues with 'Me' related to previous commit
Diffstat (limited to 'modules/protocol')
| -rw-r--r-- | modules/protocol/hybrid.cpp | 7 | ||||
| -rw-r--r-- | modules/protocol/inspircd12.cpp | 8 |
2 files changed, 0 insertions, 15 deletions
diff --git a/modules/protocol/hybrid.cpp b/modules/protocol/hybrid.cpp index 93f4c53c8..41c1a37f1 100644 --- a/modules/protocol/hybrid.cpp +++ b/modules/protocol/hybrid.cpp @@ -625,13 +625,6 @@ public: message_certfp(this) { this->AddModes(); - - - if (Me->GetSID() == Me->GetName()) - Me->SetSID(Servers::TS6_SID_Retrieve()); - - for (botinfo_map::iterator it = BotListByNick->begin(), it_end = BotListByNick->end(); it != it_end; ++it) - it->second->GenerateUID(); } void OnUserNickChange(User *u, const Anope::string &) anope_override diff --git a/modules/protocol/inspircd12.cpp b/modules/protocol/inspircd12.cpp index 2e880b631..a28b3c511 100644 --- a/modules/protocol/inspircd12.cpp +++ b/modules/protocol/inspircd12.cpp @@ -1323,15 +1323,7 @@ class ProtoInspIRCd : public Module message_idle(this), message_metadata(this), message_mode(this), message_nick(this), message_opertype(this), message_rsquit(this), message_setident(this), message_server(this), message_time(this), message_uid(this), message_encap(this) { - - Servers::Capab.insert("NOQUIT"); - - if (Me->GetSID() == Me->GetName()) - Me->SetSID(Servers::TS6_SID_Retrieve()); - - for (botinfo_map::iterator it = BotListByNick->begin(), it_end = BotListByNick->end(); it != it_end; ++it) - it->second->GenerateUID(); } void OnReload(Configuration::Conf *conf) anope_override |
