From: Manuel Nickschas Date: Sat, 19 May 2007 02:01:04 +0000 (+0000) Subject: Fixed small bug in CTCP handling: userFromMask -> nickFromMask X-Git-Tag: 0.1.0~223 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=aad35aad5ba30dc93290c75cb5571795fe116eb3;ds=sidebyside Fixed small bug in CTCP handling: userFromMask -> nickFromMask --- diff --git a/core/server.cpp b/core/server.cpp index 01cf2819..fe0da4c0 100644 --- a/core/server.cpp +++ b/core/server.cpp @@ -866,7 +866,7 @@ void Server::handleCtcpAction(CtcpType ctcptype, QString prefix, QString target, void Server::handleCtcpPing(CtcpType ctcptype, QString prefix, QString target, QString param) { if(ctcptype == CtcpQuery) { - ctcpReply(userFromMask(prefix), "PING", param); + ctcpReply(nickFromMask(prefix), "PING", param); emit displayMsg(Message::Plain, "", tr("Received CTCP PING request by %1").arg(prefix)); } else { // display ping answer @@ -875,8 +875,8 @@ void Server::handleCtcpPing(CtcpType ctcptype, QString prefix, QString target, Q void Server::handleCtcpVersion(CtcpType ctcptype, QString prefix, QString target, QString param) { if(ctcptype == CtcpQuery) { - // FIXME use real Info about quasel :) - ctcpReply(userFromMask(prefix), "VERSION", QString("Quassel:pre Release:*nix")); + // FIXME use real Info about quassel :) + ctcpReply(nickFromMask(prefix), "VERSION", QString("Quassel:pre Release:*nix")); emit displayMsg(Message::Plain, "", tr("Received CTCP VERSION request by %1").arg(prefix)); } else { // TODO display Version answer