From 9602733b2f16b6a678f8c7865907914ff98521b2 Mon Sep 17 00:00:00 2001 From: "geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b" Date: Sat, 1 Oct 2005 15:29:54 +0000 Subject: 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 --- src/config.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src') 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; } -- cgit