about summary refs log tree commit diff
path: root/contrib/Anope/0010-ngircd-Add-ProtongIRCd.patch
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2012-11-04 13:58:25 +0100
committerAlexander Barton <alex@barton.de>2012-11-10 21:26:25 +0100
commit45b0bb5aff6157409ea88b344c34b7bf84dc8886 (patch)
tree8a07254443c887b6dbdd648d8866702cb8e43e71 /contrib/Anope/0010-ngircd-Add-ProtongIRCd.patch
parentc7db2f8429c161835f6a9ed4523f45c23918892b (diff)
downloadngircd-45b0bb5aff6157409ea88b344c34b7bf84dc8886.tar.gz
ngircd-45b0bb5aff6157409ea88b344c34b7bf84dc8886.zip
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.
Diffstat (limited to 'contrib/Anope/0010-ngircd-Add-ProtongIRCd.patch')
-rw-r--r--contrib/Anope/0010-ngircd-Add-ProtongIRCd.patch57
1 files changed, 0 insertions, 57 deletions
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 <alex@barton.de>
-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<Anope::string> &p
- 	return true;
- }
- 
--
--
- /*
-  * CHANINFO <chan> +<modes>
-  * CHANINFO <chan> +<modes> :<topic>
-@@ -480,7 +477,6 @@ bool event_376(const Anope::string &source, const std::vector<Anope::string> &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
-