Commit 0d49f953 authored by rswindell's avatar rswindell
Browse files

Revert commit 1.70 from Sep-2015, use the documented behavior of the

"Use Location in User List" option. When set to false, the user's *note* (not
IP address) is to be included in the user/logon lists.
parent 2da8e9f7
......@@ -98,14 +98,14 @@ void sbbs_t::userlist(long mode)
}
sprintf(name,"%s #%d",user.alias,i);
sprintf(line[j],text[UserListFmt],name
,cfg.sys_misc&SM_LISTLOC ? user.location : user.ipaddr
,cfg.sys_misc&SM_LISTLOC ? user.location : user.note
,unixtodstr(&cfg,user.laston,tmp)
,user.modem);
}
else {
sprintf(name,"%s #%u",user.alias,i);
bprintf(text[UserListFmt],name
,cfg.sys_misc&SM_LISTLOC ? user.location : user.ipaddr
,cfg.sys_misc&SM_LISTLOC ? user.location : user.note
,unixtodstr(&cfg,user.laston,tmp)
,user.modem);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment