From 351a9c845cba79b94ac4dcf58d5c4f8ced786a79 Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Fri, 17 Sep 2010 07:51:23 +0000 Subject: fixed compilation of dcc module without ssl git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5010 17fca916-40b9-46aa-a4ea-0a15b648b75c --- src/modules/dcc/send.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/modules') diff --git a/src/modules/dcc/send.cpp b/src/modules/dcc/send.cpp index 4e0ae5596..4d2c1a10a 100644 --- a/src/modules/dcc/send.cpp +++ b/src/modules/dcc/send.cpp @@ -1020,8 +1020,9 @@ KviDccFileTransfer::KviDccFileTransfer(KviDccDescriptor * dcc) m_szDccType = dcc->bRecvFile ? "RECV" : "SEND"; if(dcc->bIsTdcc) m_szDccType.prepend("T"); +#ifdef COMPILE_SSL_SUPPORT if(dcc->bIsSSL) m_szDccType.prepend("S"); - +#endif m_pSlaveRecvThread = 0; m_pSlaveSendThread = 0; @@ -1806,8 +1807,9 @@ void KviDccFileTransfer::connectionInProgress() { szReq = "SEND"; if(m_pDescriptor->bIsTdcc) szReq.prepend("T"); +#ifdef COMPILE_SSL_SUPPORT if(m_pDescriptor->bIsSSL) szReq.prepend("S"); - +#endif m_pDescriptor->console()->connection()->sendFmtData("PRIVMSG %s :%cDCC %s %s %s %s %s %s%c", m_pDescriptor->console()->connection()->encodeText(m_pDescriptor->szNick).data(), 0x01, -- cgit v1.3.1-10-gc9f91