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

Make Disabled= and Enabled= work properly in .ini

parent 22f618b5
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -575,9 +575,9 @@ function read_ini_config(conf) {
load_config_defaults();
for (i in ini) {
if (ini_false_true(i.disabled) || ini_false_true(i.Disabled))
if (ini_false_true(ini[i].disabled) || ini_false_true(ini[i].Disabled))
continue;
if (!ini_true_false(i.enabled) || !ini_true_false(i.Enabled))
if (!ini_true_false(ini[i].enabled) || !ini_true_false(ini[i].Enabled))
continue;
s = ini[i].name.split(":");
if (typeof Sections[s[0]] === 'function')
......
......@@ -2757,7 +2757,7 @@ function IRCClient_finalize_server_connect(states) {
var pass_sent = false;
HCC_Counter++;
gnotice(format("Link established with %s (%s:%u), Sock (%s:%u), Class %u.",
gnotice(format("Link established with %s (%s), Sock (%s:%u), Class %u.",
this.nick,
this.hostname,
this.socket.remote_ip_address,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment