Fix player name formatting

This commit is contained in:
Sakuhl 2018-01-13 00:00:13 +01:00
parent b9fcad2442
commit c4ecfdd67b

View File

@ -374,7 +374,7 @@ fn war_livefeed() {
.load::<WarfeedListener>(&connection) .load::<WarfeedListener>(&connection)
.expect("Error loading listeners") { .expect("Error loading listeners") {
let _ = ChannelId(listener.id as u64).say(format!("{} ({}): ~~{}~~ -> **{}**", let _ = ChannelId(listener.id as u64).say(format!("{} ({}): ~~{}~~ -> **{}**",
player, player.replace('_', "\\_"),
guild, guild,
old_server, old_server,
key key