From 9677b85469c276281b1bd0dbbb1e207dc92d4e57 Mon Sep 17 00:00:00 2001 From: Manuel Nickschas Date: Wed, 30 Sep 2009 00:41:22 +0200 Subject: [PATCH 1/1] Escape % in the user name Bitlbee does strange stuff, apparently. --- src/uisupport/uistyle.cpp | 1 + 1 file changed, 1 insertion(+) 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; -- 2.20.1