]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Change the default for <security:customversion> to an empty string.
authorPeter Powell <petpow@saberuk.com>
Wed, 10 Jul 2013 12:38:00 +0000 (13:38 +0100)
committerPeter Powell <petpow@saberuk.com>
Sat, 10 Aug 2013 13:04:09 +0000 (14:04 +0100)
RFC 1459 says this field is for comments about the version. If the
operator has no comments then we should not show any.

docs/conf/inspircd.conf.example
src/configreader.cpp

index b34710d892720f6d7ed89c1a6cf6887d5ae5265e..60527ce75cea7560f189a3d97c94ead8a38edcd6 100644 (file)
           # (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:
index 8e5a1c2a9d79f92006632fbb8de0916cfef47d51..005b156edc2c907952e1504dbe416465d54732cd 100644 (file)
@@ -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");