From: Manuel Nickschas Date: Tue, 29 Sep 2009 22:41:22 +0000 (+0200) Subject: Escape % in the user name X-Git-Tag: 0.5-rc2~4 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=9677b85469c276281b1bd0dbbb1e207dc92d4e57 Escape % in the user name Bitlbee does strange stuff, apparently. --- 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;