summaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp9
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",