summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspecial <special@e03df62e-2008-0410-955e-edbf42e46eb7>2009-05-13 02:29:32 +0000
committerspecial <special@e03df62e-2008-0410-955e-edbf42e46eb7>2009-05-13 02:29:32 +0000
commit3372b1ac0db7611f3936bbc6f77d43ca7a2c6736 (patch)
tree8155b9bcd0beea3223a16aacfe01206f08367127
parent78ec14490c922588e2c2a9c47c01518b33a677b7 (diff)
Revert some files accidentally committed in r11371. I'm apparently doing a very bad job of multitasking.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11372 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--conf/modules.conf.example11
-rw-r--r--src/modules/m_cloaking.cpp5
2 files changed, 4 insertions, 12 deletions
diff --git a/conf/modules.conf.example b/conf/modules.conf.example
index fb238df3a..a24db40db 100644
--- a/conf/modules.conf.example
+++ b/conf/modules.conf.example
@@ -480,13 +480,10 @@
# lowercase - Display the cloaked hostnames in lowercase #
# characters instead of uppercase #
# #
-# It is VERY IMPORTANT that you do not use the keys shown here. You #
-# MUST randomly create your own cloak keys. #
-# #
-# <cloak key1="0x01234567" #
-# key2="0x89ABCDEF" #
-# key3="0x01234567" #
-# key4="0x89ABCDEF" #
+# <cloak key1="0x2AF39F40" #
+# key2="0x78E10B32" #
+# key3="0x4F2D2E82" #
+# key4="0x043A4C81" #
# prefix="mynet" #
# ipalways="false" #
# lowercase="false"> #
diff --git a/src/modules/m_cloaking.cpp b/src/modules/m_cloaking.cpp
index 8bba9ceda..1b6d2b6bb 100644
--- a/src/modules/m_cloaking.cpp
+++ b/src/modules/m_cloaking.cpp
@@ -243,11 +243,6 @@ class CloakUser : public ModeHandler
throw ModuleException("You have not defined cloak keys for m_cloaking!!! THIS IS INSECURE AND SHOULD BE CHECKED! - " + detail);
}
- else if (key1 == 0x01234567 || key2 == 0x01234567 || key3 == 0x01234567 || key4 = 0x01234567)
- {
- /* Simple test to see if the config was changed from the values in the example config, as these would be very insecure. */
- throw ModuleException("You did not change the cloak keys for m_cloaking! You must randomly create your own keys in the <cloak> tag.");
- }
}
};