summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocols/Tlen/src/tlen_svc.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/protocols/Tlen/src/tlen_svc.cpp b/protocols/Tlen/src/tlen_svc.cpp
index be6431cfc3..25442c0dba 100644
--- a/protocols/Tlen/src/tlen_svc.cpp
+++ b/protocols/Tlen/src/tlen_svc.cpp
@@ -743,12 +743,7 @@ int TlenProtocol::FileDeny(MCONTACT, HANDLE hTransfer, const wchar_t*)
TLEN_FILE_TRANSFER *ft = (TLEN_FILE_TRANSFER *)hTransfer;
char *nick = TlenNickFromJID(ft->jid);
- if (ft->newP2P) {
- TlenSend(this, "<f i='%s' e='4' t='%s'/>", ft->iqId, nick); \
- }
- else {
- TlenSend(this, "<f i='%s' e='4' t='%s'/>", ft->iqId, nick); \
- }
+ TlenSend(this, "<f i='%s' e='4' t='%s'/>", ft->iqId, nick); \
mir_free(nick);
TlenP2PFreeFileTransfer(ft);
return 0;