wesnothd suh: Show inactive users in /INFO like fuh does...
...(this won't occur in practice, though)
This commit is contained in:
parent
3f9ca006e1
commit
665392f4fb
1 changed files with 3 additions and 0 deletions
|
@ -229,5 +229,8 @@ std::string suh::user_info(const std::string& name) {
|
|||
<< "Real name: " << get_realname(name) << "\n"
|
||||
<< "Registered: " << reg_string
|
||||
<< "Last login: " << ll_string;
|
||||
if(!user_is_active(name)) {
|
||||
info << "This account is currently inactive.";
|
||||
}
|
||||
return info.str();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue