From 45b0bb5aff6157409ea88b344c34b7bf84dc8886 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Sun, 4 Nov 2012 13:58:25 +0100 Subject: Remove Anope "ngircd" protocol module patches Starting with Anope 1.9.8, the ngIRCd protocol module is included in the Anope distribution, so there's no longer any need to support our own (but now heavily outdated!) patches. Therefore remove them. --- ...ircd-always-prefix-modes-in-CHANINFO-with.patch | 29 ---------------------- 1 file changed, 29 deletions(-) delete mode 100644 contrib/Anope/0005-ngircd-always-prefix-modes-in-CHANINFO-with.patch (limited to 'contrib/Anope/0005-ngircd-always-prefix-modes-in-CHANINFO-with.patch') diff --git a/contrib/Anope/0005-ngircd-always-prefix-modes-in-CHANINFO-with.patch b/contrib/Anope/0005-ngircd-always-prefix-modes-in-CHANINFO-with.patch deleted file mode 100644 index 27b71638..00000000 --- a/contrib/Anope/0005-ngircd-always-prefix-modes-in-CHANINFO-with.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 0d83f8f9ca0de651d664eca6f467f36df0417f7d Mon Sep 17 00:00:00 2001 -From: Alexander Barton -Date: Mon, 22 Aug 2011 14:59:49 +0200 -Subject: [PATCH 05/16] ngircd: always prefix modes in CHANINFO with "+" - ---- - modules/protocol/ngircd.cpp | 6 ++---- - 1 files changed, 2 insertions(+), 4 deletions(-) - -diff --git a/modules/protocol/ngircd.cpp b/modules/protocol/ngircd.cpp -index 89aecfd..3e5beb3 100644 ---- a/modules/protocol/ngircd.cpp -+++ b/modules/protocol/ngircd.cpp -@@ -139,10 +139,8 @@ Log(LOG_DEBUG) << "SendModeInternal 2"; - - void SendChannel(Channel *c) - { -- Anope::string mlock_modes = get_mlock_modes(c->ci, true); -- if (mlock_modes.empty()) -- mlock_modes = "+"; -- send_cmd(Config->ServerName, "CHANINFO %s %s", c->name.c_str(), mlock_modes.c_str()); -+ Anope::string modes = c->GetModes(true, true); -+ send_cmd(Config->ServerName, "CHANINFO %s +%s", c->name.c_str(), modes.c_str()); - } - void SendTopic(BotInfo *bi, Channel *c) - { --- -1.7.8.3 - -- cgit 1.4.1