summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2014-01-01 19:37:25 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2014-01-01 19:37:25 +0000
commit9927e24d9b7669b5ff742f94d0c62a106a8c9842 (patch)
tree36bb44604edd5063e6ac72f97a1dd2ff9ae2c802 /protocols
parente47e740b5138c81b7ddac61e99fa8bb9a39a3559 (diff)
Slightly modified IRC CTCP VERSION response send information about x64/x86 version of Miranda NG
git-svn-id: http://svn.miranda-ng.org/main/trunk@7448 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r--protocols/IRCG/src/commandmonitor.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/protocols/IRCG/src/commandmonitor.cpp b/protocols/IRCG/src/commandmonitor.cpp
index b45e26a22f..5aff58104b 100644
--- a/protocols/IRCG/src/commandmonitor.cpp
+++ b/protocols/IRCG/src/commandmonitor.cpp
@@ -820,9 +820,11 @@ bool CIrcProto::IsCTCP(const CIrcMessage* pmsg)
// incoming VERSION
else if (pmsg->m_bIncoming && command == _T("version")) {
- PostIrcMessage( _T("/NOTICE %s \001VERSION Miranda NG %s (IRC v.%s%s), (c) 2003-09 J.Persson, G.Hazan\001"),
- pmsg->prefix.sNick.c_str(), _T("%mirver"), _T("%version"),
- _T(" Unicode"));
+#ifdef _WIN64
+ PostIrcMessage( _T("/NOTICE %s \001VERSION Miranda NG %%mirver x64 (IRC v.%%version), (c) 2003-2014 J.Persson, G.Hazan\001"), pmsg->prefix.sNick.c_str());
+#else
+ PostIrcMessage( _T("/NOTICE %s \001VERSION Miranda NG %%mirver x86 (IRC v.%%version), (c) 2003-2014 J.Persson, G.Hazan\001"), pmsg->prefix.sNick.c_str());
+#endif
TCHAR temp[300];
mir_sntprintf( temp, SIZEOF(temp), TranslateT("CTCP VERSION requested by %s"), pmsg->prefix.sNick.c_str());