diff options
| author | 2007-04-05 23:53:01 +0000 | |
|---|---|---|
| committer | 2007-04-05 23:53:01 +0000 | |
| commit | 821a5bca883ad8c06cb27963acf8861d9ef1031e (patch) | |
| tree | 95f0f8a9de79ea033b1bfd7c111474d69014fda1 /src/configreader.cpp | |
| parent | Fix for bug #216, m_cloaking now tries to cloak a larger amount of the hostna... (diff) | |
Fix for bug #199 (Feature request) submitted by owine. Ended up adding an extra parameter to <uline> for this.
It turned into a biggie :P
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6742 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/configreader.cpp')
| -rw-r--r-- | src/configreader.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp index 26e9634d1..a32249000 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -412,7 +412,8 @@ bool InitULine(ServerConfig* conf, const char* tag) bool DoULine(ServerConfig* conf, const char* tag, char** entries, ValueList &values, int* types) { const char* server = values[0].GetString(); - conf->ulines.push_back(server); + const bool silent = values[1].GetBool(); + conf->ulines[server] = silent; return true; } @@ -619,9 +620,9 @@ void ServerConfig::Read(bool bail, userrec* user) InitConnect, DoConnect, DoneConnect}, {"uline", - {"server", NULL}, - {"", NULL}, - {DT_CHARPTR}, + {"server", "silent", NULL}, + {"", "0", NULL}, + {DT_CHARPTR, DT_BOOLEAN}, InitULine,DoULine,DoneULine}, {"banlist", |
