X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Fuistyle.cpp;h=05895cd154fd6b1003339602a89402a63533dca7;hp=7b6292547ed409ac6c2831045486f8717a694812;hb=9677b85469c276281b1bd0dbbb1e207dc92d4e57;hpb=aa9cdc4a172cad4aeaeba671720f4720be6a9c61 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;