From aad35aad5ba30dc93290c75cb5571795fe116eb3 Mon Sep 17 00:00:00 2001 From: Manuel Nickschas Date: Sat, 19 May 2007 02:01:04 +0000 Subject: [PATCH] Fixed small bug in CTCP handling: userFromMask -> nickFromMask --- core/server.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.20.1