diff options
Diffstat (limited to 'protocols/Twitter/src/proto.cpp')
-rw-r--r-- | protocols/Twitter/src/proto.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/protocols/Twitter/src/proto.cpp b/protocols/Twitter/src/proto.cpp index bc95f7deda..fa1daf0957 100644 --- a/protocols/Twitter/src/proto.cpp +++ b/protocols/Twitter/src/proto.cpp @@ -252,12 +252,8 @@ INT_PTR TwitterProto::VisitHomepage(WPARAM hContact, LPARAM) int TwitterProto::OnBuildStatusMenu(WPARAM, LPARAM)
{
- HGENMENU hRoot = pcli->pfnGetProtocolMenu(m_szModuleName);
- if (hRoot == NULL)
- return 0;
-
CMenuItem mi;
- mi.root = hRoot;
+ mi.root = Menu_GetProtocolRoot(this);
mi.flags = CMIF_TCHAR;
mi.position = 1001;
Menu_AddStatusMenuItem(&mi, m_szModuleName);
|