Skip to content
Snippets Groups Projects
Commit 64e46bbf authored by rswindell's avatar rswindell
Browse files

Added username to dupliate IP warning.

parent ee041b33
No related branches found
No related tags found
No related merge requests found
......@@ -126,7 +126,8 @@ void sbbs_t::newuser()
useron.prot=cfg.new_prot;
strcpy(useron.note,cid); /* Caller ID if supported, NULL otherwise */
if((i=userdatdupe(0,U_NOTE,LEN_NOTE,cid,true))!=0) { /* Duplicate IP address */
sprintf(useron.comment,"Warning: same IP address as user #%d",i);
sprintf(useron.comment,"Warning: same IP address as user #%d %s"
,i,username(&cfg,i,str));
logline("N!",useron.comment);
}
......
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