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

More user details in the new user sysop-notification message

This adds a Ctrl-A code in the notification subject, so needs latest
postmsg.cpp or that Ctrl-A code will end up in your email/inbox too
(not really supported or stripped when sent over POP/SMTP).
parent d247a257
Branches
Tags
No related merge requests found
......@@ -112,7 +112,12 @@ if(options.send_welcome && file_exists(welcome_msg) && !qnet && user.number>1) {
}
if(options.notify_sysop)
system.notify(options.notify_sysop, format("New user (#%u) created: %s", user.number, user.alias));
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));
function send_newuser_welcome_msg(fname)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment