From ef048989f89eb15b4fc92b83f3ff58805e44a064 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 4 Jun 2007 19:10:25 +0000 Subject: Add options:moronbanner. Yes really, thats what its called. See the example config. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7232 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/configreader.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/configreader.cpp') diff --git a/src/configreader.cpp b/src/configreader.cpp index 76aec8ee5..2d62f354a 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -593,6 +593,7 @@ void ServerConfig::Read(bool bail, userrec* user) InitialConfig Values[] = { {"options", "softlimit", MAXCLIENTS_S, new ValueContainerUInt (&this->SoftLimit), DT_INTEGER, ValidateSoftLimit}, {"options", "somaxconn", SOMAXCONN_S, new ValueContainerInt (&this->MaxConn), DT_INTEGER, ValidateMaxConn}, + {"options", "moronbanner", "Youre banned!", new ValueContainerChar (this->MoronBanner), DT_CHARPTR, NoValidation}, {"server", "name", "", new ValueContainerChar (this->ServerName), DT_CHARPTR, ValidateServerName}, {"server", "description", "Configure Me", new ValueContainerChar (this->ServerDesc), DT_CHARPTR, NoValidation}, {"server", "network", "Network", new ValueContainerChar (this->Network), DT_CHARPTR, NoValidation}, -- cgit v1.2.3