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

More prep for the UIFC cfg editor

parent 2fc121e2
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -68,6 +68,8 @@ const MAX_REALNAME = 50; /* Maximum length of users real name field */
const SERVER_UPTIME = system.timer;
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 */
......
......@@ -308,13 +308,14 @@ function Read_Config_File() {
YLines[0] = new YLine(120,600,100,1000000); /* Hardcoded class for fallback */
if (!IRCDCFG) {
Scan_For_Banned_Clients();
for (i in CLines) {
c = CLines[i];
if ((YLines[c.ircclass].connfreq > 0) && c.port && !Servers[c.servername.toLowerCase()])
Reset_Autoconnect(c, 1 /* connect immediately */);
}
if (IRCDCFG_Editor)
return;
Scan_For_Banned_Clients();
for (i in CLines) {
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