From 1719b8ed1716a9ceef2d9644cf2c2c0e81b57cb2 Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Fri, 21 Apr 2006 19:03:03 +0000
Subject: [PATCH] Use Tracker1's module to send new user details to the sysop
 (via email) Note: this should probably be optional/configurable somewhere.

---
 web/root/newuser.ssjs | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/web/root/newuser.ssjs b/web/root/newuser.ssjs
index 9f424aff0b..e760c1595d 100644
--- a/web/root/newuser.ssjs
+++ b/web/root/newuser.ssjs
@@ -13,6 +13,7 @@ var optional_str="";
 var sub="";
 
 load("sbbsdefs.js");
+load("user_info_to_sysop.js");
 load("../web/lib/template.ssjs");
 
 template.required=required_str;
@@ -347,6 +348,12 @@ else {
     nuser.shell=http_request.query.shell;
     nuser.editor=http_request.query.editor;
 
+    sendUserInfoToSysop(
+    	nuser,
+    	system.name + " New User Information (web)",
+    	"" /* TODO: Create a comment textarea field, and put the result here */
+    );
+
     template.title="New user created";
 	if(do_header)
 	    write_template("header.inc");
-- 
GitLab