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

Log new user details (name, email address, age, location) to system/daily log

Also include email address in sysop notification.

Fix issue #711
parent 23b74774
No related branches found
No related tags found
1 merge request!455Update branch with changes from master
......@@ -108,13 +108,18 @@ if(options.send_welcome && file_exists(welcome_msg) && !qnet && user.number>1) {
log(LOG_INFO,"Sent new user welcome e-mail");
}
var newuser_details = format("%s <%s> %u %s from %s using %ux%u %s/%s via %s"
,user.name, user.netmail, user.age, user.gender, user.location
,console.screen_columns, console.screen_rows, console.charset, console.type
,user.connection);
if(options.notify_sysop)
system.notify(options.notify_sysop
,format("New user created: \x01c%s #%u", user.alias, user.number)
,format("%s, %u %s from %s using %ux%u %s/%s via %s"
,user.name, user.age, user.gender, user.location
,console.screen_columns, console.screen_rows, console.charset, console.type
,user.connection));
,newuser_details);
bbs.log_str(newuser_details);
function send_newuser_welcome_msg(fname)
{
......
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