mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-29 04:10:05 -04:00
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
This commit is contained in:
parent
047f09dd57
commit
63483aa395
@ -27,8 +27,9 @@ ServerConfig::ServerConfig(InspIRCd* Instance) : ServerInstance(Instance)
|
|||||||
*HideWhoisServer = *AdminEmail = *AdminNick = *diepass = *restartpass = '\0';
|
*HideWhoisServer = *AdminEmail = *AdminNick = *diepass = *restartpass = '\0';
|
||||||
*CustomVersion = *motd = *rules = *PrefixQuit = *DieValue = *DNSServer = '\0';
|
*CustomVersion = *motd = *rules = *PrefixQuit = *DieValue = *DNSServer = '\0';
|
||||||
*UserStats = *ModPath = *MyExecutable = *DisabledCommands = *PID = '\0';
|
*UserStats = *ModPath = *MyExecutable = *DisabledCommands = *PID = '\0';
|
||||||
|
WhoWasGroupSize = WhoWasMaxGroups = WhoWasMaxKeep = 0;
|
||||||
log_file = NULL;
|
log_file = NULL;
|
||||||
NoUserDns = forcedebug = OperSpyWhois = nofork = HideBans = HideSplits = false;
|
NoUserDns = forcedebug = OperSpyWhois = nofork = HideBans = HideSplits = UndernetMsgPrefix = false;
|
||||||
CycleHosts = writelog = AllowHalfop = true;
|
CycleHosts = writelog = AllowHalfop = true;
|
||||||
dns_timeout = DieDelay = 5;
|
dns_timeout = DieDelay = 5;
|
||||||
MaxTargets = 20;
|
MaxTargets = 20;
|
||||||
@ -39,9 +40,6 @@ ServerConfig::ServerConfig(InspIRCd* Instance) : ServerInstance(Instance)
|
|||||||
debugging = 0;
|
debugging = 0;
|
||||||
LogLevel = DEFAULT;
|
LogLevel = DEFAULT;
|
||||||
maxbans.clear();
|
maxbans.clear();
|
||||||
WhoWasGroupSize = 10;
|
|
||||||
WhoWasMaxGroups = WhoWasGroupSize * MAXCLIENTS;
|
|
||||||
WhoWasMaxKeep = 3600*24*3; // 3 days
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void ServerConfig::ClearStack()
|
void ServerConfig::ClearStack()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user