diff options
| author | 2016-05-08 02:36:03 +0100 | |
|---|---|---|
| committer | 2016-05-08 02:37:37 +0100 | |
| commit | 5f0292c32b336be0bb279a7511a9ee37ba9df3fa (patch) | |
| tree | 28dbeb31c6c6aa730b2c79e904633148aff301cc /src/modules/dcc/requests.cpp | |
| parent | cleanup: separators and spacing (diff) | |
| download | KVIrc-5f0292c32b336be0bb279a7511a9ee37ba9df3fa.tar.gz KVIrc-5f0292c32b336be0bb279a7511a9ee37ba9df3fa.tar.bz2 KVIrc-5f0292c32b336be0bb279a7511a9ee37ba9df3fa.zip | |
cleanup: remove more ancient commented code p3
Diffstat (limited to 'src/modules/dcc/requests.cpp')
| -rw-r--r-- | src/modules/dcc/requests.cpp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/modules/dcc/requests.cpp b/src/modules/dcc/requests.cpp index a1734c2ef..2d1f8d595 100644 --- a/src/modules/dcc/requests.cpp +++ b/src/modules/dcc/requests.cpp @@ -890,7 +890,6 @@ static void dccModuleParseDccGet(KviDccRequest * dcc) } //#warning "IF NOT IGNORE DCC GET!" - //#warning "CREATE IT MINIMIZED ETC..." //#warning "MAYBE USE A DIALOG TO ACCEPT THE REQUEST ?" //#warning "DO NOT ACCEPT /etc/* requests..." @@ -1108,19 +1107,6 @@ static void dccModuleParseDccVideo(KviDccRequest * dcc) } } - // bool bOk; - - // int iSampleRate = dcc->szParam4.toInt(&bOk); - // if(!bOk) - // { - // if(!dcc->ctcpMsg->msg->haltOutput()) - // { - // dcc->ctcpMsg->msg->console()->output(KVI_OUT_DCCMSG, - // __tr2qs_ctx("The above request appears to be broken: Invalid sample-rate '%s', defaulting to 8000","dcc"),dcc->szParam4.ptr()); - // } - // iSampleRate = 8000; - // } - DccDescriptor * d = new DccDescriptor(dcc->pConsole); d->szNick = dcc->ctcpMsg->pSource->nick(); d->szUser = dcc->ctcpMsg->pSource->user(); @@ -1162,15 +1148,6 @@ static void dccModuleParseDccCanvas(KviDccRequest * dcc) if(!dcc_module_normalize_target_data(dcc, dcc->szParam2, dcc->szParam3)) return; -// Actually unused parameter -// if(!(kvi_strEqualCI("canvas",dcc->szParam1.ptr()))) -// { -// if(!dcc->ctcpMsg->msg->haltOutput()) -// { -// dcc->ctcpMsg->msg->console()->output(KVI_OUT_DCCMSG, -// __tr("The above request is broken: the second parameter is '%s' and shoud be 'chat'; trying to continue"),dcc->szParam1.ptr()); -// } -// } #ifdef COMPILE_DCC_CANVAS DccDescriptor * d = new DccDescriptor(dcc->pConsole); d->szNick = dcc->ctcpMsg->pSource->nick(); |
