wesnothd suh: Show inactive users in /INFO like fuh does...

...(this won't occur in practice, though)
This commit is contained in:
Ignacio R. Morelle 2011-06-21 00:58:26 +00:00
parent 3f9ca006e1
commit 665392f4fb

View file

@ -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();
}