diff options
author | George Hazan <ghazan@miranda.im> | 2019-01-18 23:14:19 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-01-18 23:14:19 +0300 |
commit | c2e2c85262148dcf71450dfd3c7b33ef41eb84ec (patch) | |
tree | fe21b2d7677f955168dee25b4fea722dcd06c924 /plugins/NewAwaySysMod | |
parent | e3bea6d9c261c87d7f67ecc06392c0d0cd4fe2dc (diff) |
code cleaning
- ACKTYPE_URL removed;
- PF1_URL removed;
- IEED_EVENT_URL removed;
- another URL-related code cleaning
Diffstat (limited to 'plugins/NewAwaySysMod')
-rw-r--r-- | plugins/NewAwaySysMod/src/MsgEventAdded.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/NewAwaySysMod/src/MsgEventAdded.cpp b/plugins/NewAwaySysMod/src/MsgEventAdded.cpp index 7efc0dfde2..c3cfb99c54 100644 --- a/plugins/NewAwaySysMod/src/MsgEventAdded.cpp +++ b/plugins/NewAwaySysMod/src/MsgEventAdded.cpp @@ -110,7 +110,7 @@ int MsgEventAdded(WPARAM hContact, LPARAM lParam) if (!hContact)
return 0;
- if (dbei->flags & DBEF_SENT || (dbei->eventType != EVENTTYPE_MESSAGE && dbei->eventType != EVENTTYPE_URL && dbei->eventType != EVENTTYPE_FILE))
+ if (dbei->flags & DBEF_SENT || (dbei->eventType != EVENTTYPE_MESSAGE && dbei->eventType != EVENTTYPE_FILE))
return 0;
if (time(0) - dbei->timestamp > MAX_REPLY_TIMEDIFF) // don't reply to offline messages
@@ -209,7 +209,6 @@ int MsgEventAdded(WPARAM hContact, LPARAM lParam) return 0;
if ((dbei->eventType == EVENTTYPE_MESSAGE && !AutoreplyOptData.GetValue(IDC_REPLYDLG_EVENTMSG)) ||
- (dbei->eventType == EVENTTYPE_URL && !AutoreplyOptData.GetValue(IDC_REPLYDLG_EVENTURL)) ||
(dbei->eventType == EVENTTYPE_FILE && !AutoreplyOptData.GetValue(IDC_REPLYDLG_EVENTFILE)))
return 0;
|