summaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-02-11 18:50:04 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-02-11 18:50:04 +0000
commitb111eec597349ad2dc7d4b54945097df813535b4 (patch)
tree4ed9808c0de98052ea3f7e284e1cbb39a4ddccd1 /src/configreader.cpp
parent750f9e29370ced3fe6f1549acbfada9483eff5f4 (diff)
Allow for nick!user@host in TOPIC information.
Note that this adds another <options> tag value, 'hostintopic'. (defaults to yes) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6572 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index 3060b9866..feb55b293 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -588,6 +588,7 @@ void ServerConfig::Read(bool bail, userrec* user)
{"options", "syntaxhints", "0", new ValueContainerBool (&this->SyntaxHints), DT_BOOLEAN, NoValidation},
{"options", "cyclehosts", "0", new ValueContainerBool (&this->CycleHosts), DT_BOOLEAN, NoValidation},
{"options", "ircumsgprefix","0", new ValueContainerBool (&this->UndernetMsgPrefix), DT_BOOLEAN, NoValidation},
+ {"options", "hostintopic", "1", new ValueContainerBool (&this->FullHostInTopic), DT_BOOLEAN, NoValidation},
{"pid", "file", "", new ValueContainerChar (this->PID), DT_CHARPTR, NoValidation},
{"whowas", "groupsize", "10", new ValueContainerInt (&this->WhoWasGroupSize), DT_INTEGER, NoValidation},
{"whowas", "maxgroups", "10240", new ValueContainerInt (&this->WhoWasMaxGroups), DT_INTEGER, NoValidation},