X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fcoresession.cpp;h=3782f71d609acc10b57915debb5d97c485ecfbe7;hb=fd16e241d2fd1f33f4625b3255956f025a67273b;hp=8c012acc781273d34b9137a85ec0ac580247f1e5;hpb=dba66762993507168b1a3de25cfd2d7bff0ff969;p=quassel.git diff --git a/src/core/coresession.cpp b/src/core/coresession.cpp index 8c012acc..3782f71d 100644 --- a/src/core/coresession.cpp +++ b/src/core/coresession.cpp @@ -428,16 +428,16 @@ QString CoreSession::senderPrefixes(const QString &sender, const BufferInfo &buf { CoreNetwork *currentNetwork = network(bufferInfo.networkId()); if (!currentNetwork) { - return ""; + return {}; } if (bufferInfo.type() != BufferInfo::ChannelBuffer) { - return ""; + return {}; } IrcChannel *currentChannel = currentNetwork->ircChannel(bufferInfo.bufferName()); if (!currentChannel) { - return ""; + return {}; } const QString modes = currentChannel->userModes(nickFromMask(sender).toLower());