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. --- contrib/Anope/0010-ngircd-Add-ProtongIRCd.patch | 57 ------------------------- 1 file changed, 57 deletions(-) delete mode 100644 contrib/Anope/0010-ngircd-Add-ProtongIRCd.patch (limited to 'contrib/Anope/0010-ngircd-Add-ProtongIRCd.patch') diff --git a/contrib/Anope/0010-ngircd-Add-ProtongIRCd.patch b/contrib/Anope/0010-ngircd-Add-ProtongIRCd.patch deleted file mode 100644 index 42cd4a51..00000000 --- a/contrib/Anope/0010-ngircd-Add-ProtongIRCd.patch +++ /dev/null @@ -1,57 +0,0 @@ -From d2c45d7c578ec684d3b471020f631847316de196 Mon Sep 17 00:00:00 2001 -From: Alexander Barton -Date: Fri, 25 Nov 2011 19:17:19 +0100 -Subject: [PATCH 10/16] ngircd: Add ~ProtongIRCd() - ---- - modules/protocol/ngircd.cpp | 13 ++++++++----- - 1 files changed, 8 insertions(+), 5 deletions(-) - -diff --git a/modules/protocol/ngircd.cpp b/modules/protocol/ngircd.cpp -index 55cb8d7..5fd62db 100644 ---- a/modules/protocol/ngircd.cpp -+++ b/modules/protocol/ngircd.cpp -@@ -302,8 +302,7 @@ class ngIRCdIRCdMessage : public IRCdMessage - } - }; - --/** This is here because: -- * -+/* - * If we had three servers, A, B & C linked like so: A<->B<->C - * If Anope is linked to A and B splits from A and then reconnects - * B introduces itself, introduces C, sends EOS for C, introduces Bs clients -@@ -319,8 +318,6 @@ bool event_pong(const Anope::string &source, const std::vector &p - return true; - } - -- -- - /* - * CHANINFO + - * CHANINFO + : -@@ -480,7 +477,6 @@ bool event_376(const Anope::string &source, const std::vector &pa - return true; - } - -- - class ProtongIRCd : public Module - { - Message message_kick, message_pass, message_njoin, message_chaninfo, message_005, -@@ -542,6 +538,13 @@ class ProtongIRCd : public Module - ModuleManager::Attach(I_OnUserNickChange, this); - } - -+ ~ProtongIRCd() -+ { -+ pmodule_ircd_var(NULL); -+ pmodule_ircd_proto(NULL); -+ pmodule_ircd_message(NULL); -+ } -+ - void OnUserNickChange(User *u, const Anope::string &) - { - u->RemoveModeInternal(ModeManager::FindUserModeByName(UMODE_REGISTERED)); --- -1.7.8.3 - -- cgit 1.4.1