projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add command queue prepend, prioritize PING/PONG
[quassel.git]
/
src
/
core
/
coresessioneventprocessor.cpp
diff --git
a/src/core/coresessioneventprocessor.cpp
b/src/core/coresessioneventprocessor.cpp
index
8acae81
..
ae67021
100644
(file)
--- a/
src/core/coresessioneventprocessor.cpp
+++ b/
src/core/coresessioneventprocessor.cpp
@@
-515,7
+515,8
@@
void CoreSessionEventProcessor::processIrcEventPing(IrcEvent *e)
{
QString param = e->params().count() ? e->params().first() : QString();
// FIXME use events
{
QString param = e->params().count() ? e->params().first() : QString();
// FIXME use events
- coreNetwork(e)->putRawLine("PONG " + coreNetwork(e)->serverEncode(param));
+ // Take priority so this won't get stuck behind other queued messages.
+ coreNetwork(e)->putRawLine("PONG " + coreNetwork(e)->serverEncode(param), true);
}
}