From 3dae8e0b92015ac13df4bb3eda5f92e3a9e4fb08 Mon Sep 17 00:00:00 2001 From: Manuel Nickschas Date: Mon, 18 Aug 2008 16:08:29 +0200 Subject: [PATCH] Escape % in channel names --- src/uisupport/uistyle.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/uisupport/uistyle.cpp b/src/uisupport/uistyle.cpp index 627ba5e8..b95a5304 100644 --- a/src/uisupport/uistyle.cpp +++ b/src/uisupport/uistyle.cpp @@ -317,6 +317,7 @@ UiStyle::StyledMessage UiStyle::styleMessage(const Message &msg) { QString nick = nickFromMask(msg.sender()); QString txt = mircToInternal(msg.contents()); QString bufferName = msg.bufferInfo().bufferName(); + bufferName.replace('%', "%%"); // well, you _can_ have a % in a buffername apparently... -_- StyledMessage result; -- 2.20.1