summaryrefslogtreecommitdiff
path: root/net-im/kopete-kde4/files/patch-protocols_irc_libkirc_plugins_ctcp_kircctcpmessages.cpp
blob: 95093da31c1f27adf8020e94a1c7421ae384836e (plain)
1
2
3
4
5
6
7
8
9
10
11
--- protocols/irc/libkirc/plugins/ctcp/kircctcpmessages.cpp.orig	2018-09-07 10:14:53 UTC
+++ protocols/irc/libkirc/plugins/ctcp/kircctcpmessages.cpp
@@ -101,7 +101,7 @@ void StdCommands::CtcpRequest_dcc(const 
 		{
 			QFileInfo file(fileName);
 			QString noWhiteSpace = file.fileName();
-			if (noWhiteSpace.contains(' ') > 0)
+			if (noWhiteSpace.contains(' ') )
 				noWhiteSpace.replace(QRegExp("\\s+"), "_");
 
 			TransferServer *server = TransferHandler::self()->createServer(this, nickname, type, fileName, file.size());