Skip to content
Snippets Groups Projects
Commit 6e74e262 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Support individual access requirements for IRC, Finger, and inter-bbs msgs.

New modopts.ini [chat_sec] options:
- imsg_requirements (default: blank)
- irc_requirements (default: blank)
- finger_requirements (default: blank)

For DesotoFireflite (VALHALLA)
parent 13e68e3d
No related branches found
No related tags found
No related merge requests found
......@@ -53,11 +53,11 @@ while(1) {
write(bbs.text(ChatPrompt));
var keys = "ACDJPQST?\r";
if(options.imsg)
if(options.imsg && user.compare_ars(options.imsg_requirements))
keys += "I";
if(options.irc)
if(options.irc && user.compare_ars(options.irc_requirements))
keys += "R";
if(options.finger)
if(options.finger && user.compare_ars(options.finger_requirements))
keys += "F";
switch(console.getkeys(keys, K_UPPER)) {
case "S":
......
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