Skip to content
Snippets Groups Projects
Commit 2671047f authored by rswindell's avatar rswindell
Browse files

Use [chat] as the preferred modopts.ini section name.

Support [chat_sec] for backwards compatibility (anyone actually using this
feature?).
parent 9d7a67e0
No related branches found
No related tags found
No related merge requests found
...@@ -8,8 +8,10 @@ require("sbbsdefs.js", 'USER_EXPERT'); ...@@ -8,8 +8,10 @@ require("sbbsdefs.js", 'USER_EXPERT');
require("nodedefs.js", 'NODE_CHAT'); require("nodedefs.js", 'NODE_CHAT');
require("text.js", 'R_Chat'); require("text.js", 'R_Chat');
// Over-ride these default values by creating/modifying the [chat_sec] section in your ctrl/modopts.ini file // Over-ride these default values by creating/modifying the [chat] section in your ctrl/modopts.ini file
var options = load("modopts.js", "chat_sec"); var options = load("modopts.js", "chat");
if (!options)
options = load("modopts.js", "chat_sec");
if (!options) if (!options)
options = {}; options = {};
if (options.irc === undefined) if (options.irc === undefined)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment