Subj : Fixed possible issue at chat_sec.js?
To : All
From : Karloch
Date : Sat Apr 11 2015 08:49 pm
U have been looking arround the IRC chat feature at Synchronet, and I wanted to
change the default IRC network and channel, giving the users the possibility of
writting down their on server. For some reason, the users were not able to join
another IRC network regardless of writting it when the BBS asked.
I though that the vars were not right, so I changed that code to this one:
case 'R':
{
if(user.security.level >= 50 || user.security.exemptions&UFLAG_C) {
write("\r\n\001n\001y\001hIRC Server: ");
var server=console.getstr(irc_server, 40, K_EDIT|K_LINE|K_AUTODEL);
if(console.aborted)
break;
}
write("\r\n\001n\001y\001hIRC Channel: ");
var channel=console.getstr(irc_channel, 40, K_EDIT|K_LINE|K_AUTODEL);
if(!console.aborted)
bbs.exec("?irc -a " + server + " " + channel);
}
break;
Everything is working like a charm now. I would like to know if there is an
official way to contribute with the Synchronet code in order to help the
development in some way.
Also, many thanks to all the developers for their amazing work!