diff options
author | George Hazan <george.hazan@gmail.com> | 2023-11-24 19:04:55 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-11-24 19:27:56 +0300 |
commit | 255b8133ea30d765428eb8188d75db91558bcd27 (patch) | |
tree | fea7c0557d007a15462b45d77c81dd707e6f4c46 /protocols | |
parent | 955e8047a7e312f93fb2b0611df017ac8acb59ab (diff) |
NewStory control messages made public
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/ICQ-WIM/src/menus.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/ICQ-WIM/src/menus.cpp b/protocols/ICQ-WIM/src/menus.cpp index 591089e24a..58a118bf36 100644 --- a/protocols/ICQ-WIM/src/menus.cpp +++ b/protocols/ICQ-WIM/src/menus.cpp @@ -21,11 +21,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. void CIcqProto::InitMenus() { - if (!ServiceExists(MS_NEWSTORY_GETSELECTION)) + if (!HookProtoEvent(ME_NS_PREBUILDMENU, &CIcqProto::OnPrebuildMenu)) return; CreateProtoService(MenuExecService, &CIcqProto::SvcExecMenu); - HookProtoEvent(ME_NS_PREBUILDMENU, &CIcqProto::OnPrebuildMenu); CMStringA szServiceName(FORMAT, "%s%s", m_szModuleName, MenuExecService); CMenuItem mi(&g_plugin); |