X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fcoresessioneventprocessor.cpp;h=f8fd4d70355f584f05343e086964098bed0abf4f;hb=1dd7a8535be8eec1a04550e356b140ae89c4ad48;hp=80ea7d8d1aa2ed8c3cfc2ece6c4f705c4532361a;hpb=1e39f7ca94436ee382b090f616960b4fcb786ccb;p=quassel.git diff --git a/src/core/coresessioneventprocessor.cpp b/src/core/coresessioneventprocessor.cpp index 80ea7d8d..f8fd4d70 100644 --- a/src/core/coresessioneventprocessor.cpp +++ b/src/core/coresessioneventprocessor.cpp @@ -1016,7 +1016,7 @@ void CoreSessionEventProcessor::handleCtcpClientinfo(CtcpEvent *e) void CoreSessionEventProcessor::handleCtcpPing(CtcpEvent *e) { - e->setReply(e->param()); + e->setReply(e->param().isNull() ? "" : e->param()); }