summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_awaymsg.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-03-23 13:40:40 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-03-23 13:40:40 +0000
commitc49db60246165780c37b86ba8a084d31c5cc5446 (patch)
treec37c2492bcce52be147e86367d22da2a961d2a36 /plugins/Clist_modern/src/modern_awaymsg.cpp
parent9451818a55c1f2a6995b813c6bdc0cbb3839fa94 (diff)
- minus unneeded vraiable;
- code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@16527 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_awaymsg.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_awaymsg.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/Clist_modern/src/modern_awaymsg.cpp b/plugins/Clist_modern/src/modern_awaymsg.cpp
index b6a4b81260..f154958a56 100644
--- a/plugins/Clist_modern/src/modern_awaymsg.cpp
+++ b/plugins/Clist_modern/src/modern_awaymsg.cpp
@@ -102,10 +102,7 @@ static void amThreadProc(void *)
ack.hContact = hContact;
ack.type = ACKTYPE_AWAYMSG;
ack.result = ACKRESULT_FAILED;
- if (dnce.m_cache_cszProto)
- ack.szModule = dnce.m_cache_cszProto;
- else
- ack.szModule = NULL;
+ ack.szModule = dnce.m_cache_cszProto;
ClcDoProtoAck(hContact, &ack);
}
CListSettings_FreeCacheItemData(&dnce);