X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fnetsplit.cpp;h=265521abce97d9b6d8ebf11701afbf20342b776d;hp=fd49a7d41957eb5fc8c6b063849a8ebd2997bf21;hb=1c3f7e5bf8a6c5df8acedcc162e6b372403a1cf9;hpb=f0502bc0352f04ba9146601f802ddeed8a9b907b diff --git a/src/core/netsplit.cpp b/src/core/netsplit.cpp index fd49a7d4..265521ab 100644 --- a/src/core/netsplit.cpp +++ b/src/core/netsplit.cpp @@ -167,7 +167,10 @@ void Netsplit::quitTimeout() _quitsWithMessageSent[channelIter.key()].append(user); } } - emit netsplitQuit(channelIter.key(), usersToSend, _quitMsg); + // not yet sure how that could happen, but never send empty netsplit-quits + // anyway. + if(!usersToSend.isEmpty()) + emit netsplitQuit(channelIter.key(), usersToSend, _quitMsg); } _sentQuit = true; }