X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcoreuserinputhandler.cpp;h=b5c82c1b02833e68f56d6ecb29fc535369cf0bba;hp=73aac48ae3cb8cfcba99ec943ca0cb1e57ed955c;hb=45a0d954542db252ceb62b61243ee5c2253383de;hpb=7df097437df5c77a1fd772ff1a5b63d40d09ac4f diff --git a/src/core/coreuserinputhandler.cpp b/src/core/coreuserinputhandler.cpp index 73aac48a..b5c82c1b 100644 --- a/src/core/coreuserinputhandler.cpp +++ b/src/core/coreuserinputhandler.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2015 by the Quassel Project * + * Copyright (C) 2005-2016 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -545,7 +545,8 @@ void CoreUserInputHandler::handlePing(const BufferInfo &bufferInfo, const QStrin if (param.isEmpty()) param = QTime::currentTime().toString("hh:mm:ss.zzz"); - putCmd("PING", serverEncode(param)); + // Take priority so this won't get stuck behind other queued messages. + putCmd("PING", serverEncode(param), QByteArray(), true); }