summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <adam@sigterm.info>2017-03-19 18:56:06 -0400
committerGitHub <noreply@github.com>2017-03-19 18:56:06 -0400
commitf8f1550c31f9a129d92e04f77bd7c4ae3313a8a1 (patch)
tree0801b633269ccbc6914a329a0568e6d88c9a0a3e
parent0fcc66711bc0ae31469bd67044d968c33bacb824 (diff)
parent6cb17c734cec2021102021aa3ce66c9c04247aa2 (diff)
Merge pull request #187 from miwob/new-mode
Add channel mode 'u', and 'L' to hybrid protocol module; Remove usele…
-rw-r--r--modules/protocol/hybrid.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/protocol/hybrid.cpp b/modules/protocol/hybrid.cpp
index b97c38973..9f8801f6d 100644
--- a/modules/protocol/hybrid.cpp
+++ b/modules/protocol/hybrid.cpp
@@ -1,7 +1,7 @@
/* ircd-hybrid-8 protocol module
*
* (C) 2003-2017 Anope Team <team@anope.org>
- * (C) 2012-2016 ircd-hybrid development team
+ * (C) 2012-2017 ircd-hybrid development team
*
* Please read COPYING and README for further details.
*
@@ -184,12 +184,10 @@ class HybridProto : public IRCDProto
UplinkSocket::Message() << "PASS " << Config->Uplinks[Anope::CurrentUplink].password << " TS 6 :" << Me->GetSID();
/*
- * As of January 13, 2016, ircd-hybrid-8 does support the following capabilities
+ * As of March 19, 2017, ircd-hybrid-8 does support the following capabilities
* which are required to work with IRC-services:
*
* QS - Can handle quit storm removal
- * EX - Can do channel +e exemptions
- * IE - Can do invite exceptions
* CHW - Can do channel wall @#
* TBURST - Supports topic burst
* ENCAP - Supports ENCAP
@@ -197,7 +195,7 @@ class HybridProto : public IRCDProto
* SVS - Supports services
* EOB - Supports End Of Burst message
*/
- UplinkSocket::Message() << "CAPAB :QS EX CHW IE ENCAP TBURST SVS HOPS EOB";
+ UplinkSocket::Message() << "CAPAB :QS CHW ENCAP TBURST SVS HOPS EOB";
SendServer(Me);
@@ -662,7 +660,9 @@ class ProtoHybrid : public Module
ModeManager::AddChannelMode(new ChannelModeNoone("REGISTERED", 'r'));
ModeManager::AddChannelMode(new ChannelMode("SECRET", 's'));
ModeManager::AddChannelMode(new ChannelMode("TOPIC", 't'));
+ ModeManager::AddChannelMode(new ChannelMode("HIDEBMASKS", 'u'));
ModeManager::AddChannelMode(new ChannelMode("NOCTCP", 'C'));
+ ModeManager::AddChannelMode(new ChannelModeOperOnly("LBAN", 'L'));
ModeManager::AddChannelMode(new ChannelMode("REGMODERATED", 'M'));
ModeManager::AddChannelMode(new ChannelModeOperOnly("OPERONLY", 'O'));
ModeManager::AddChannelMode(new ChannelMode("REGISTEREDONLY", 'R'));