From 624c9066d85c4da900cf440ca6066f86ef0b044d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 19 Apr 2018 18:19:47 +0300 Subject: EV_PROTO_ONOPTIONS removed and replaced with the call of CallObjectEventHook(pa->ppro, ME_OPT_INITIALIZE) this eliminates the possibility of making a mistake in hand-written code also fixes #1280 (Tox: "Confugure" menu item is broken) --- protocols/JabberG/src/jabber_proto.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'protocols/JabberG/src') diff --git a/protocols/JabberG/src/jabber_proto.cpp b/protocols/JabberG/src/jabber_proto.cpp index c3fc9162df..55519f1627 100755 --- a/protocols/JabberG/src/jabber_proto.cpp +++ b/protocols/JabberG/src/jabber_proto.cpp @@ -1331,7 +1331,6 @@ int __cdecl CJabberProto::OnEvent(PROTOEVENTTYPE eventType, WPARAM wParam, LPARA switch (eventType) { case EV_PROTO_ONLOAD: return OnModulesLoadedEx(0, 0); case EV_PROTO_ONEXIT: return OnPreShutdown(0, 0); - case EV_PROTO_ONOPTIONS: return OnOptionsInit(wParam, lParam); case EV_PROTO_ONMENU: MenuInit(); -- cgit v1.2.3