diff options
| author | 2010-09-17 07:51:23 +0000 | |
|---|---|---|
| committer | 2010-09-17 07:51:23 +0000 | |
| commit | 351a9c845cba79b94ac4dcf58d5c4f8ced786a79 (patch) | |
| tree | 47b83e59469e74bd0c9888737a7705c5b5ff9aa6 /src/modules/dcc | |
| parent | Quick fix in http.get (diff) | |
| download | KVIrc-351a9c845cba79b94ac4dcf58d5c4f8ced786a79.tar.gz KVIrc-351a9c845cba79b94ac4dcf58d5c4f8ced786a79.tar.bz2 KVIrc-351a9c845cba79b94ac4dcf58d5c4f8ced786a79.zip | |
fixed compilation of dcc module without ssl
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5010 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/dcc')
| -rw-r--r-- | src/modules/dcc/send.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
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, |
