From 8c5881c1e5fa83cfb6512686cc0389f447745655 Mon Sep 17 00:00:00 2001 From: Dart Raiden Date: Fri, 18 Sep 2015 19:22:34 +0000 Subject: IRC: take this info from version resource instead from the separate constant (thx MikalaiR) git-svn-id: http://svn.miranda-ng.org/main/trunk@15386 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/IRCG/src/commandmonitor.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'protocols/IRCG/src') diff --git a/protocols/IRCG/src/commandmonitor.cpp b/protocols/IRCG/src/commandmonitor.cpp index 41befe1236..8a7ac8350c 100644 --- a/protocols/IRCG/src/commandmonitor.cpp +++ b/protocols/IRCG/src/commandmonitor.cpp @@ -23,6 +23,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // certain commands from the server. #include "stdafx.h" +#include "version.h" using namespace irc; @@ -805,7 +806,7 @@ bool CIrcProto::IsCTCP(const CIrcMessage* pmsg) // incoming VERSION else if (pmsg->m_bIncoming && command == _T("version")) { - PostIrcMessage(_T("/NOTICE %s \001VERSION Miranda NG %%mirver (IRC v.%%version), (c) 2003-2014 J.Persson, G.Hazan\001"), pmsg->prefix.sNick.c_str()); + PostIrcMessage(_T("/NOTICE %s \001VERSION Miranda NG %%mirver (IRC v.%%version)") _T(", ") _T(__COPYRIGHT) _T("\001"), pmsg->prefix.sNick.c_str()); TCHAR temp[300]; mir_sntprintf(temp, TranslateT("CTCP VERSION requested by %s"), pmsg->prefix.sNick.c_str()); -- cgit v1.2.3