projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Initialize new buffers in the UI with their activity
[quassel.git]
/
src
/
core
/
coresession.cpp
diff --git
a/src/core/coresession.cpp
b/src/core/coresession.cpp
index
8c012ac
..
3782f71
100644
(file)
--- 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) {
{
CoreNetwork *currentNetwork = network(bufferInfo.networkId());
if (!currentNetwork) {
- return
""
;
+ return
{}
;
}
if (bufferInfo.type() != BufferInfo::ChannelBuffer) {
}
if (bufferInfo.type() != BufferInfo::ChannelBuffer) {
- return
""
;
+ return
{}
;
}
IrcChannel *currentChannel = currentNetwork->ircChannel(bufferInfo.bufferName());
if (!currentChannel) {
}
IrcChannel *currentChannel = currentNetwork->ircChannel(bufferInfo.bufferName());
if (!currentChannel) {
- return
""
;
+ return
{}
;
}
const QString modes = currentChannel->userModes(nickFromMask(sender).toLower());
}
const QString modes = currentChannel->userModes(nickFromMask(sender).toLower());