summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-26 00:54:20 +0000
committerpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-26 00:54:20 +0000
commit63483aa395ab48a15e7f3935f259bcbccb0e20cf (patch)
treeb765417bbc7c6bce4a918d6b19016ed1c99afb4f
parent047f09dd572b89223ff3798dc25c34fe4c4172b3 (diff)
Tidyup a few var inits for whowas and ircu style prefix.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6114 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/configreader.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index 4ac41b1d5..0c5949e49 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -27,8 +27,9 @@ ServerConfig::ServerConfig(InspIRCd* Instance) : ServerInstance(Instance)
*HideWhoisServer = *AdminEmail = *AdminNick = *diepass = *restartpass = '\0';
*CustomVersion = *motd = *rules = *PrefixQuit = *DieValue = *DNSServer = '\0';
*UserStats = *ModPath = *MyExecutable = *DisabledCommands = *PID = '\0';
+ WhoWasGroupSize = WhoWasMaxGroups = WhoWasMaxKeep = 0;
log_file = NULL;
- NoUserDns = forcedebug = OperSpyWhois = nofork = HideBans = HideSplits = false;
+ NoUserDns = forcedebug = OperSpyWhois = nofork = HideBans = HideSplits = UndernetMsgPrefix = false;
CycleHosts = writelog = AllowHalfop = true;
dns_timeout = DieDelay = 5;
MaxTargets = 20;
@@ -39,9 +40,6 @@ ServerConfig::ServerConfig(InspIRCd* Instance) : ServerInstance(Instance)
debugging = 0;
LogLevel = DEFAULT;
maxbans.clear();
- WhoWasGroupSize = 10;
- WhoWasMaxGroups = WhoWasGroupSize * MAXCLIENTS;
- WhoWasMaxKeep = 3600*24*3; // 3 days
}
void ServerConfig::ClearStack()