X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcoreuserinputhandler.cpp;h=5764605a2d8d43bd6770399047f9a72251c5f18e;hp=a5a3d875afea09f24baec9f8eaea4cc9af955c53;hb=513c0edce6f4c69f16e6a00c144877e8d5940096;hpb=17fe1c8ac710e5a56368f9255e0d9772c29b6cfe diff --git a/src/core/coreuserinputhandler.cpp b/src/core/coreuserinputhandler.cpp index a5a3d875..5764605a 100644 --- a/src/core/coreuserinputhandler.cpp +++ b/src/core/coreuserinputhandler.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-09 by the Quassel Project * + * Copyright (C) 2005-10 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -29,7 +29,7 @@ #include CoreUserInputHandler::CoreUserInputHandler(CoreNetwork *parent) - : BasicHandler(parent) + : CoreBasicHandler(parent) { } @@ -128,8 +128,8 @@ void CoreUserInputHandler::handleCtcp(const BufferInfo &bufferInfo, const QStrin if(ctcpTag.isEmpty()) return; - QString message = ""; - QString verboseMessage = tr("sending CTCP-%1 request").arg(ctcpTag); + QString message = msg.section(' ', 2); + QString verboseMessage = tr("sending CTCP-%1 request to %2").arg(ctcpTag).arg(nick); if(ctcpTag == "PING") { uint now = QDateTime::currentDateTime().toTime_t();