X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Fuistyle.cpp;h=05895cd154fd6b1003339602a89402a63533dca7;hp=7b6292547ed409ac6c2831045486f8717a694812;hb=49813fa53b34ffa35837d30fd022e2fc72f57eb5;hpb=6953ab43dbebb5e656ecdc16993fd6321b5005ff diff --git a/src/uisupport/uistyle.cpp b/src/uisupport/uistyle.cpp index 7b629254..05895cd1 100644 --- a/src/uisupport/uistyle.cpp +++ b/src/uisupport/uistyle.cpp @@ -562,6 +562,7 @@ void UiStyle::StyledMessage::style() const { QString bufferName = bufferInfo().bufferName(); bufferName.replace('%', "%%"); // well, you _can_ have a % in a buffername apparently... -_- host.replace('%', "%%"); // hostnames too... + user.replace('%', "%%"); // and the username. const int maxNetsplitNicks = 15; QString t;