add a space between sender and chat message (like everywhere else)

This commit is contained in:
Gunter Labes 2008-01-18 08:08:18 +00:00
parent 7a847a1547
commit 3b69764597
2 changed files with 3 additions and 2 deletions

View file

@ -1808,8 +1808,9 @@ private:
{
}
//! Change the log level of a log domain.
//! @param data String of the form: '<level> <domain>'
void chat_handler::change_logging(const std::string& data) {
// :log <level> <domain> Change the log level of a log domain.
const std::string::const_iterator j =
std::find(data.begin(), data.end(), ' ');
if (j == data.end()) return;

View file

@ -224,7 +224,7 @@ std::string chat::format_message(const msg& message)
+ message.message.substr(3) + ">\n";
} else {
return preferences::get_chat_timestamp(message.time) + "<" + message.user
+ ">" + message.message + "\n";
+ "> " + message.message + "\n";
}
}