X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fnetsplit.cpp;h=265521abce97d9b6d8ebf11701afbf20342b776d;hp=fd49a7d41957eb5fc8c6b063849a8ebd2997bf21;hb=8d0392eb23e1b0cea064bcf7d1f864ee0bf64314;hpb=f7d920731ede8ab4d597a783502875b23d96c6e7 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; }