From: Peter Powell Date: Wed, 10 Jul 2013 12:38:00 +0000 (+0100) Subject: Change the default for to an empty string. X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=28190fc82a9aefba5edfba7ddcef34a878775311;p=user%2Fhenk%2Fcode%2Finspircd.git Change the default for to an empty string. RFC 1459 says this field is for comments about the version. If the operator has no comments then we should not show any. --- diff --git a/docs/conf/inspircd.conf.example b/docs/conf/inspircd.conf.example index b34710d89..60527ce75 100644 --- a/docs/conf/inspircd.conf.example +++ b/docs/conf/inspircd.conf.example @@ -729,8 +729,8 @@ # (Commands like /notice, /privmsg, /kick, etc) maxtargets="20" - # customversion: Displays a custom string when a user /version's - # the ircd. This may be set for security reasons or vanity reasons. + # customversion: A custom message to be displayed in the comments field + # of the VERSION command response. This does not hide the InspIRCd version. customversion="" # operspywhois: show opers (users/auspex) the +s channels a user is in. Values: diff --git a/src/configreader.cpp b/src/configreader.cpp index 8e5a1c2a9..005b156ed 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -399,7 +399,7 @@ void ServerConfig::Fill() DisabledCommands = ConfValue("disabled")->getString("commands", ""); DisabledDontExist = ConfValue("disabled")->getBool("fakenonexistant"); UserStats = security->getString("userstats"); - CustomVersion = security->getString("customversion", Network + " IRCd"); + CustomVersion = security->getString("customversion"); HideSplits = security->getBool("hidesplits"); HideBans = security->getBool("hidebans"); HideWhoisServer = security->getString("hidewhois");