X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fctcphandler.cpp;h=a3bd3087d519bca62276c666995f907d82bc21ee;hp=153f6c0fbf56e6e77e8df35c6e570bc0e4f71296;hb=16d697ab814aa594b71ac45269604aa65ed9d011;hpb=61f42c7c9d0e5428512287f97ded31448741f2da diff --git a/src/core/ctcphandler.cpp b/src/core/ctcphandler.cpp index 153f6c0f..a3bd3087 100644 --- a/src/core/ctcphandler.cpp +++ b/src/core/ctcphandler.cpp @@ -19,6 +19,7 @@ ***************************************************************************/ #include "ctcphandler.h" +#include "global.h" #include "util.h" #include "message.h" @@ -152,7 +153,8 @@ void CtcpHandler::handleVersion(CtcpType ctcptype, QString prefix, QString targe Q_UNUSED(target) if(ctcptype == CtcpQuery) { // FIXME use real Info about quassel :) - reply(nickFromMask(prefix), "VERSION", QString("Quassel IRC (Pre-Release) - http://www.quassel-irc.org")); + reply(nickFromMask(prefix), "VERSION", QString("Quassel IRC (v%1 build >= %2) -- http://www.quassel-irc.org") + .arg(Global::quasselVersion).arg(Global::quasselBuild)); emit displayMsg(Message::Server, "", tr("Received CTCP VERSION request by %1").arg(prefix)); } else { // display Version answer