projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f7d9207
)
Never send empty netsplit-quit messages
author
Sebastian Goth
<seezer@roath.org>
Wed, 11 Nov 2009 21:58:16 +0000
(22:58 +0100)
committer
Marcus Eggenberger
<egs@quassel-irc.org>
Thu, 12 Nov 2009 09:26:21 +0000
(10:26 +0100)
src/core/netsplit.cpp
patch
|
blob
|
history
diff --git
a/src/core/netsplit.cpp
b/src/core/netsplit.cpp
index
fd49a7d
..
265521a
100644
(file)
--- a/
src/core/netsplit.cpp
+++ b/
src/core/netsplit.cpp
@@
-167,7
+167,10
@@
void Netsplit::quitTimeout()
_quitsWithMessageSent[channelIter.key()].append(user);
}
}
_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;
}
}
_sentQuit = true;
}