summaryrefslogtreecommitdiff
path: root/protocols/IRCG
diff options
context:
space:
mode:
authorDart Raiden <wowemuh@gmail.com>2015-09-18 19:22:34 +0000
committerDart Raiden <wowemuh@gmail.com>2015-09-18 19:22:34 +0000
commit8c5881c1e5fa83cfb6512686cc0389f447745655 (patch)
tree039eb3481f0b99971e0bf07e35bf7011b7604603 /protocols/IRCG
parentc087d67fc1cccd443a648ae98c670df3dfd80c0f (diff)
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
Diffstat (limited to 'protocols/IRCG')
-rw-r--r--protocols/IRCG/src/commandmonitor.cpp3
1 files changed, 2 insertions, 1 deletions
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());