diff options
Diffstat (limited to 'protocols/Tox/src')
-rw-r--r-- | protocols/Tox/src/tox_menus.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/protocols/Tox/src/tox_menus.cpp b/protocols/Tox/src/tox_menus.cpp index 7e6313aadf..debe3b5ae6 100644 --- a/protocols/Tox/src/tox_menus.cpp +++ b/protocols/Tox/src/tox_menus.cpp @@ -1,13 +1,8 @@ #include "stdafx.h"
-// HGENMENU CToxProto::ContactMenuItems[CMI_MAX];
-
int CToxProto::OnPrebuildContactMenu(WPARAM hContact, LPARAM)
{
- // for (auto &it : ContactMenuItems)
- // Menu_ShowItem(it, false);
-
- if (!hContact)
+ if (!Proto_IsProtoOnContact(hContact, m_szModuleName))
return 0;
if (!this->IsOnline())
|