summaryrefslogtreecommitdiff
path: root/plugins/SeenPlugin
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SeenPlugin')
-rw-r--r--plugins/SeenPlugin/src/menu.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/plugins/SeenPlugin/src/menu.cpp b/plugins/SeenPlugin/src/menu.cpp
index 58d0c1818b..1bb5192552 100644
--- a/plugins/SeenPlugin/src/menu.cpp
+++ b/plugins/SeenPlugin/src/menu.cpp
@@ -72,12 +72,11 @@ void InitMenuitem()
{
CreateServiceFunction("LastSeenUserDetails", MenuitemClicked);
- CLISTMENUITEM cmi = { 0 };
- cmi.position = -0x7FFFFFFF;
- cmi.flags = CMIF_TCHAR;
- cmi.ptszName = LPGENT("<none>");
- cmi.pszService = "LastSeenUserDetails";
- hmenuitem = Menu_AddContactMenuItem(&cmi);
+ CLISTMENUITEM mi = { 0 };
+ mi.position = -0x7FFFFFFF;
+ mi.name.a = LPGEN("Last seen");
+ mi.pszService = "LastSeenUserDetails";
+ hmenuitem = Menu_AddContactMenuItem(&mi);
HookEvent(ME_CLIST_PREBUILDCONTACTMENU, BuildContactMenu);