X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fircparser.cpp;h=4ffcc5d3a306982a48724fde871e7227809d9983;hp=5c6fce760b3dcfa51aa16c42ef447e272eae3626;hb=8582c2ad5708a1972c85bea1cf8d81ad3ece4814;hpb=98144aaad0cd747f186edcd0e36a1d67326ac766 diff --git a/src/core/ircparser.cpp b/src/core/ircparser.cpp index 5c6fce76..4ffcc5d3 100644 --- a/src/core/ircparser.cpp +++ b/src/core/ircparser.cpp @@ -239,7 +239,7 @@ void IrcParser::processNetworkIncoming(NetworkDataEvent *e) // :ChanServ!ChanServ@services. NOTICE egst :[#apache] Welcome, this is #apache. Please read the in-channel topic message. This channel is being logged by IRSeekBot. If you have any question please see http://blog.freenode.net/?p=68 if (!net->isChannelName(target)) { QString decMsg = net->serverDecode(params.at(1)); - QRegExp welcomeRegExp("^\\[([^\\]]+)\\] "); + QRegExp welcomeRegExp(R"(^\[([^\]]+)\] )"); if (welcomeRegExp.indexIn(decMsg) != -1) { QString channelname = welcomeRegExp.cap(1); decMsg = decMsg.mid(welcomeRegExp.matchedLength());