From 458ea2029cf36e9e8d3c7b7d0176e365234c018a Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Fri, 2 Sep 2016 21:51:19 +0200 Subject: Bump version to 3.0 in comments and messages --- src/modules/m_spanningtree/capab.cpp | 2 +- src/modules/m_spanningtree/compat.cpp | 4 ++-- src/modules/m_spanningtree/fjoin.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/modules/m_spanningtree') diff --git a/src/modules/m_spanningtree/capab.cpp b/src/modules/m_spanningtree/capab.cpp index a2e68aa61..d22481518 100644 --- a/src/modules/m_spanningtree/capab.cpp +++ b/src/modules/m_spanningtree/capab.cpp @@ -45,7 +45,7 @@ std::string TreeSocket::MyModules(int filter) for (ModuleManager::ModuleMap::const_iterator i = modlist.begin(); i != modlist.end(); ++i) { Module* const mod = i->second; - // 2.2 advertises its settings for the benefit of services + // 3.0 advertises its settings for the benefit of services // 2.0 would bork on this if (proto_version < 1205 && i->second->ModuleSourceFile == "m_kicknorejoin.so") continue; diff --git a/src/modules/m_spanningtree/compat.cpp b/src/modules/m_spanningtree/compat.cpp index 63fc9cf6c..2436e74f8 100644 --- a/src/modules/m_spanningtree/compat.cpp +++ b/src/modules/m_spanningtree/compat.cpp @@ -253,7 +253,7 @@ void TreeSocket::WriteLine(const std::string& original_line) } else if (command == "SINFO") { - // :22D SINFO version :InspIRCd-2.2 + // :22D SINFO version :InspIRCd-3.0 // A B C std::string::size_type c = line.find(' ', b + 1); if (c == std::string::npos) @@ -424,7 +424,7 @@ bool TreeSocket::PreProcessOldProtocolMessage(User*& who, std::string& cmd, std: } else if (cmd == "MODENOTICE") { - // MODENOTICE is always supported by 2.0 but it's optional in 2.2. + // MODENOTICE is always supported by 2.0 but it's optional in 3.0. params.insert(params.begin(), "*"); params.insert(params.begin()+1, cmd); cmd = "ENCAP"; diff --git a/src/modules/m_spanningtree/fjoin.cpp b/src/modules/m_spanningtree/fjoin.cpp index 41212b517..c292373b3 100644 --- a/src/modules/m_spanningtree/fjoin.cpp +++ b/src/modules/m_spanningtree/fjoin.cpp @@ -85,7 +85,7 @@ CmdResult CommandFJoin::Handle(User* srcuser, std::vector& params) * drop the link to avoid desync. * * InspIRCd 2.0 and older required a comma before the uuid even if the user - * had no prefix modes on the channel, InspIRCd 2.2 and later does not require + * had no prefix modes on the channel, InspIRCd 3.0 and later does not require * a comma in this case anymore. * * is a positive integer representing the id of the membership. -- cgit v1.2.3