aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/dcc/descriptor.cpp
diff options
context:
space:
mode:
authorGravatar Noldor2008-08-07 17:51:02 +0000
committerGravatar Noldor2008-08-07 17:51:02 +0000
commitac5e88740eb64a1d9a0caa3b5f5756114dea565d (patch)
tree049419bc0a70cdd369627b067bf5caa456c05e27 /src/modules/dcc/descriptor.cpp
parentmodules editor (wip), objects(wip) QT4 port. (diff)
downloadKVIrc-ac5e88740eb64a1d9a0caa3b5f5756114dea565d.tar.gz
KVIrc-ac5e88740eb64a1d9a0caa3b5f5756114dea565d.tar.bz2
KVIrc-ac5e88740eb64a1d9a0caa3b5f5756114dea565d.zip
DCC module QT4 port (wip)
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@2210 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/dcc/descriptor.cpp')
-rw-r--r--src/modules/dcc/descriptor.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/modules/dcc/descriptor.cpp b/src/modules/dcc/descriptor.cpp
index 640791d0c..1007ecfda 100644
--- a/src/modules/dcc/descriptor.cpp
+++ b/src/modules/dcc/descriptor.cpp
@@ -203,29 +203,29 @@ void KviDccDescriptor::copyFrom(const KviDccDescriptor &src)
bool KviDccDescriptor::isFileUpload()
{
- if(szType.upper()=="SEND")return true;
- if(szType.upper()=="TSEND")return true;
+ if(szType.toUpper()=="SEND")return true;
+ if(szType.toUpper()=="TSEND")return true;
#ifdef COMPILE_SSL_SUPPORT
- if(szType.upper()=="SSEND")return true;
+ if(szType.toUpper()=="SSEND")return true;
#endif
return false;
}
bool KviDccDescriptor::isFileDownload()
{
- if(szType.upper()=="RECV")return true;
- if(szType.upper()=="TRECV")return true;
+ if(szType.toUpper()=="RECV")return true;
+ if(szType.toUpper()=="TRECV")return true;
#ifdef COMPILE_SSL_SUPPORT
- if(szType.upper()=="SRECV")return true;
+ if(szType.toUpper()=="SRECV")return true;
#endif
return false;
}
bool KviDccDescriptor::isDccChat()
{
- if(szType.upper()=="CHAT")return true;
+ if(szType.toUpper()=="CHAT")return true;
#ifdef COMPILE_SSL_SUPPORT
- if(szType.upper()=="SCHAT")return true;
+ if(szType.toUpper()=="SCHAT")return true;
#endif
return false;
}