summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
bf911db)
Normally the response param is whatever came in, but e.g. qwebirc does
not send any params if the user does not explicitly specify any. This
would result in "Received unknown CTCP-PING". This patch makes quassel
respond with any empty string.
void CoreSessionEventProcessor::handleCtcpPing(CtcpEvent *e)
{
void CoreSessionEventProcessor::handleCtcpPing(CtcpEvent *e)
{
- e->setReply(e->param());
+ e->setReply(e->param().isNull() ? "" : e->param());