implemented message of the day functionality in the server

This commit is contained in:
David White 2005-10-16 01:32:28 +00:00
parent dbad7b12ca
commit 2d9b92a972

View file

@ -336,6 +336,7 @@ std::string server::process_command(const std::string& cmd)
if(i == cmd.end()) {
if(motd_ != "") {
out << "message of the day: " << motd_;
return out.str();
} else {
return "no message of the day set";
}