Skip to content
Snippets Groups Projects
Commit cef44275 authored by Randy Sommerfeld's avatar Randy Sommerfeld
Browse files

More prep for the UIFC cfg editor

parent 0fc41645
No related branches found
No related tags found
1 merge request!455Update branch with changes from master
...@@ -68,6 +68,8 @@ const MAX_REALNAME = 50; /* Maximum length of users real name field */ ...@@ -68,6 +68,8 @@ const MAX_REALNAME = 50; /* Maximum length of users real name field */
const SERVER_UPTIME = system.timer; const SERVER_UPTIME = system.timer;
const SERVER_UPTIME_STRF = strftime("%a %b %d %Y at %H:%M:%S %Z",Epoch()); const SERVER_UPTIME_STRF = strftime("%a %b %d %Y at %H:%M:%S %Z",Epoch());
const IRCDCFG_Editor = false;
/*** Global Objects, Arrays and Variables - Always in Mixed_Case ***/ /*** Global Objects, Arrays and Variables - Always in Mixed_Case ***/
/* Global Objects */ /* Global Objects */
......
...@@ -308,13 +308,14 @@ function Read_Config_File() { ...@@ -308,13 +308,14 @@ function Read_Config_File() {
YLines[0] = new YLine(120,600,100,1000000); /* Hardcoded class for fallback */ YLines[0] = new YLine(120,600,100,1000000); /* Hardcoded class for fallback */
if (!IRCDCFG) { if (IRCDCFG_Editor)
Scan_For_Banned_Clients(); return;
for (i in CLines) {
c = CLines[i]; Scan_For_Banned_Clients();
if ((YLines[c.ircclass].connfreq > 0) && c.port && !Servers[c.servername.toLowerCase()]) for (i in CLines) {
Reset_Autoconnect(c, 1 /* connect immediately */); c = CLines[i];
} if ((YLines[c.ircclass].connfreq > 0) && c.port && !Servers[c.servername.toLowerCase()])
Reset_Autoconnect(c, 1 /* connect immediately */);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment