From 9927e24d9b7669b5ff742f94d0c62a106a8c9842 Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Wed, 1 Jan 2014 19:37:25 +0000 Subject: 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 --- protocols/IRCG/src/commandmonitor.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'protocols/IRCG/src/commandmonitor.cpp') 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()); -- cgit v1.2.3