summaryrefslogtreecommitdiff
path: root/plugins/NewAwaySysMod/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-03-15 20:59:36 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-03-15 20:59:36 +0300
commitbdaa5cf8b48515af2ac39f3f3245dd1183cbad52 (patch)
treeeb05a2b018d90ff909f683dc677679b94025998e /plugins/NewAwaySysMod/src
parent43d8271832401a84484babce14f1c69bd922d9ea (diff)
unused parameter removed
Diffstat (limited to 'plugins/NewAwaySysMod/src')
-rw-r--r--plugins/NewAwaySysMod/src/MsgEventAdded.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/NewAwaySysMod/src/MsgEventAdded.cpp b/plugins/NewAwaySysMod/src/MsgEventAdded.cpp
index 0fee8edf25..0f71f63661 100644
--- a/plugins/NewAwaySysMod/src/MsgEventAdded.cpp
+++ b/plugins/NewAwaySysMod/src/MsgEventAdded.cpp
@@ -82,7 +82,7 @@ void __cdecl AutoreplyDelayThread(void *_ad)
}
-int IsSRMsgWindowOpen(MCONTACT hContact, int DefaultRetVal)
+int IsSRMsgWindowOpen(MCONTACT hContact)
{
MessageWindowData mwd;
return !Srmm_GetWindowData(hContact, mwd) && mwd.hwndWindow;
@@ -161,7 +161,7 @@ int MsgEventAdded(WPARAM hContact, LPARAM lParam)
MetacontactEvents.RemoveElem(i);
// add the new event and wait for a subcontact's event
- MetacontactEvents.AddElem(CMetacontactEvent(hContact, dbei->timestamp, IsSRMsgWindowOpen(hContact, false)));
+ MetacontactEvents.AddElem(CMetacontactEvent(hContact, dbei->timestamp, IsSRMsgWindowOpen(hContact)));
return 0;
}
@@ -199,7 +199,7 @@ int MsgEventAdded(WPARAM hContact, LPARAM lParam)
return 0;
// we never get here for a metacontact; we did check for metacontact's window earlier, and here we need to check only for subcontact's window
- if (IsSRMsgWindowOpen(hContact, false))
+ if (IsSRMsgWindowOpen(hContact))
return 0;
}
if (AutoreplyOptData.GetValue(IDC_REPLYDLG_ONLYIDLEREPLY) && !g_bIsIdle)