diff options
Diffstat (limited to 'src/modules/dcc/requests.cpp')
-rw-r--r-- | src/modules/dcc/requests.cpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/modules/dcc/requests.cpp b/src/modules/dcc/requests.cpp index 29e6b424..4eed2393 100644 --- a/src/modules/dcc/requests.cpp +++ b/src/modules/dcc/requests.cpp @@ -263,9 +263,9 @@ static void dccModuleParseDccChat(KviDccRequest *dcc) szExtensions.cutRight(4); // cut off CHAT #ifdef COMPILE_SSL_SUPPORT - bool bSSLExtension = szExtensions.tqcontains('S',false); + bool bSSLExtension = szExtensions.contains('S',false); #else //!COMPILE_SSL_SUPPORT - if(szExtensions.tqcontains('S',false)) + if(szExtensions.contains('S',false)) { dcc_module_request_error(dcc,__tr2qs_ctx("This executable has been compiled without SSL support, the SSL extension to DCC CHAT is not available","dcc")); return; @@ -444,7 +444,7 @@ static void dccModuleParseDccSend(KviDccRequest *dcc) dcc->szParam4 = __tr2qs_ctx("<unknown size>","dcc"); } - if(dcc->szParam1.tqcontains('/')) + if(dcc->szParam1.contains('/')) { if(!dcc->ctcpMsg->msg->haltOutput()) { @@ -457,11 +457,11 @@ static void dccModuleParseDccSend(KviDccRequest *dcc) KviStr szExtensions = dcc->szType; szExtensions.cutRight(4); // cut off SEND - bool bTurboExtension = szExtensions.tqcontains('T',false); + bool bTurboExtension = szExtensions.contains('T',false); #ifdef COMPILE_SSL_SUPPORT - bool bSSLExtension = szExtensions.tqcontains('S',false); + bool bSSLExtension = szExtensions.contains('S',false); #else //!COMPILE_SSL_SUPPORT - if(szExtensions.tqcontains('S',false)) + if(szExtensions.contains('S',false)) { dcc_module_request_error(dcc,__tr2qs_ctx("This executable has been compiled without SSL support, the SSL extension to DCC SEND is not available","dcc")); return; @@ -592,7 +592,7 @@ static void dccModuleParseDccRecv(KviDccRequest * dcc) dcc->szParam4 = "0"; } - if(dcc->szParam1.tqcontains('/')) + if(dcc->szParam1.contains('/')) { if(!dcc->ctcpMsg->msg->haltOutput()) { @@ -605,11 +605,11 @@ static void dccModuleParseDccRecv(KviDccRequest * dcc) KviStr szExtensions = dcc->szType; szExtensions.cutRight(4); // cut off RECV - bool bTurboExtension = szExtensions.tqcontains('T',false); + bool bTurboExtension = szExtensions.contains('T',false); #ifdef COMPILE_SSL_SUPPORT - bool bSSLExtension = szExtensions.tqcontains('S',false); + bool bSSLExtension = szExtensions.contains('S',false); #else //!COMPILE_SSL_SUPPORT - if(szExtensions.tqcontains('S',false)) + if(szExtensions.contains('S',false)) { dcc_module_request_error(dcc,__tr2qs_ctx("This executable has been compiled without SSL support, the SSL extension to DCC RECV is not available","dcc")); return; @@ -730,7 +730,7 @@ static void dccModuleParseDccRSend(KviDccRequest *dcc) dcc->szParam2 = __tr_ctx("<unknown size>","dcc"); } - if(dcc->szParam1.tqcontains('/')) + if(dcc->szParam1.contains('/')) { if(!dcc->ctcpMsg->msg->haltOutput()) { @@ -743,11 +743,11 @@ static void dccModuleParseDccRSend(KviDccRequest *dcc) KviStr szExtensions = dcc->szType; szExtensions.cutRight(4); // cut off SEND - bool bTurboExtension = szExtensions.tqcontains('T',false); + bool bTurboExtension = szExtensions.contains('T',false); #ifdef COMPILE_SSL_SUPPORT - bool bSSLExtension = szExtensions.tqcontains('S',false); + bool bSSLExtension = szExtensions.contains('S',false); #else //!COMPILE_SSL_SUPPORT - if(szExtensions.tqcontains('S',false)) + if(szExtensions.contains('S',false)) { dcc_module_request_error(dcc,__tr2qs_ctx("This executable has been compiled without SSL support, the SSL extension to DCC RSEND is not available","dcc")); return; @@ -826,11 +826,11 @@ static void dccModuleParseDccGet(KviDccRequest *dcc) KviStr szExtensions = dcc->szType; szExtensions.cutRight(3); // cut off GET - bool bTurboExtension = szExtensions.tqcontains('T',false); + bool bTurboExtension = szExtensions.contains('T',false); #ifdef COMPILE_SSL_SUPPORT - bool bSSLExtension = szExtensions.tqcontains('S',false); + bool bSSLExtension = szExtensions.contains('S',false); #else //!COMPILE_SSL_SUPPORT - if(szExtensions.tqcontains('S',false)) + if(szExtensions.contains('S',false)) { dcc_module_request_error(dcc,__tr2qs_ctx("This executable has been compiled without SSL support, the SSL extension to DCC GET is not available","dcc")); return; |