Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
df799b0a
Commit
df799b0a
authored
2 years ago
by
Rob Swindell
Browse files
Options
Downloads
Patches
Plain Diff
Expand @-codes in text/welcome.msg before sending as email to sysop
Fixes issue
#463
parent
ae29bb57
No related branches found
No related tags found
1 merge request
!463
MRC mods by Codefenix (2024-10-20)
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
exec/newuser.js
+1
-0
1 addition, 0 deletions
exec/newuser.js
with
1 addition
and
0 deletions
exec/newuser.js
+
1
−
0
View file @
df799b0a
...
...
@@ -145,6 +145,7 @@ function send_newuser_welcome_msg(fname)
subject
:
"
Welcome to
"
+
system
.
name
+
"
!
"
};
msgtxt
=
msgtxt
.
replace
(
/@
(\w
+
)
@/
,
function
(
code
)
{
return
bbs
.
atcode
(
code
);
});
var
result
=
msgbase
.
save_msg
(
hdr
,
msgtxt
);
if
(
!
result
)
log
(
LOG_ERR
,
"
!ERROR
"
+
msgbase
.
error
+
"
saving mail message
"
);
...
...
This diff is collapsed.
Click to expand it.
Rob Swindell
@rswindell
mentioned in commit
0edce2af
·
2 years ago
mentioned in commit
0edce2af
mentioned in commit 0edce2af4ea9b0e4bd631b9400d605465f158054
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment