summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorgeniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2005-10-01 15:29:54 +0000
committergeniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2005-10-01 15:29:54 +0000
commit9602733b2f16b6a678f8c7865907914ff98521b2 (patch)
tree2d0c3d73234707fedbdbe250e6d1eb726c534844 /src
parent9416d192045ebf77c4b3d04cd3f7d2ee69deb61d (diff)
BUILD : 1.7.11 (905) BUGS : NOTES : Fixed up config; UserKeys can be safely missing again, you get a real warning when they are identical, and fixed a small grammar error in the GlobalOnCycle warning just above
git-svn-id: svn://svn.anope.org/anope/trunk@905 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@651 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r--src/config.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/config.c b/src/config.c
index cf75ce052..d24af1ca3 100644
--- a/src/config.c
+++ b/src/config.c
@@ -1355,7 +1355,7 @@ int read_config(int reload)
if (GlobalOnCycle) {
if (!GlobalOnCycleMessage && !GlobalOnCycleUP) {
- alog("GlobalOnCycleMessage and GlobalOnCycleUP are not defined disabling GlobalOnCycle");
+ alog("GlobalOnCycleMessage and GlobalOnCycleUP are not defined; disabling GlobalOnCycle");
GlobalOnCycle = 0;
}
}
@@ -1363,11 +1363,8 @@ int read_config(int reload)
/* Check the user keys */
if ((UserKey1 == UserKey2) || (UserKey1 == UserKey3)
|| (UserKey3 == UserKey2)) {
- alog("Every UserKey must be different. It's for YOUR safety! Remember that!");
- retval = 0;
- }
- if (UserKey1 == 9866235) {
- alog("You don't want your network secure? You are supposed to set NEW UserKey values!!!");
+ printf
+ ("Every UserKey must be different. It's for YOUR safety! Remember that!\n");
retval = 0;
}