summaryrefslogtreecommitdiff
path: root/src/inspircd_io.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inspircd_io.cpp')
-rw-r--r--src/inspircd_io.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/inspircd_io.cpp b/src/inspircd_io.cpp
index c9d64d57c..5488b025f 100644
--- a/src/inspircd_io.cpp
+++ b/src/inspircd_io.cpp
@@ -157,7 +157,7 @@ void ServerConfig::Read(bool bail, userrec* user)
*/
char dbg[MAXBUF],pauseval[MAXBUF],Value[MAXBUF],timeout[MAXBUF],NB[MAXBUF],flood[MAXBUF],MW[MAXBUF],MCON[MAXBUF],MT[MAXBUF];
char AH[MAXBUF],AP[MAXBUF],AF[MAXBUF],DNT[MAXBUF],pfreq[MAXBUF],thold[MAXBUF],sqmax[MAXBUF],rqmax[MAXBUF],SLIMT[MAXBUF];
- char localmax[MAXBUF],globalmax[MAXBUF],HS[MAXBUF],HB[MAXBUF];
+ char localmax[MAXBUF],globalmax[MAXBUF],HS[MAXBUF],HB[MAXBUF],ServName[MAXBUF];
ConnectClass c;
std::stringstream errstr;
include_stack.clear();
@@ -408,6 +408,15 @@ void ServerConfig::Read(bool bail, userrec* user)
}
}
+ Config->ulines.clear();
+ for (int i = 0; i < ConfValueEnum("uline",&Config->config_f); i++)
+ {
+ ConfValue("uline","server",i,ServName,&Config->config_f);
+ {
+ log(DEBUG,"Read ULINE '%s'",ServName);
+ Config->ulines.push_back(ServName);
+ }
+ }
log(DEFAULT,"Reading K lines,Q lines and Z lines from config...");
read_xline_defaults();
log(DEFAULT,"Applying K lines, Q lines and Z lines...");