summaryrefslogtreecommitdiff
path: root/protocols/IRCG/src/ircproto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-19 18:19:47 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-04-19 18:19:47 +0300
commit624c9066d85c4da900cf440ca6066f86ef0b044d (patch)
treeadd8020aeecd60ccc892640914496dcd315947c0 /protocols/IRCG/src/ircproto.cpp
parent2dd3e220e4c783a5454d763b01d56e71042644f2 (diff)
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)
Diffstat (limited to 'protocols/IRCG/src/ircproto.cpp')
-rw-r--r--protocols/IRCG/src/ircproto.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/protocols/IRCG/src/ircproto.cpp b/protocols/IRCG/src/ircproto.cpp
index fe7bb55831..aedd341e74 100644
--- a/protocols/IRCG/src/ircproto.cpp
+++ b/protocols/IRCG/src/ircproto.cpp
@@ -817,7 +817,6 @@ int __cdecl CIrcProto::OnEvent(PROTOEVENTTYPE eventType, WPARAM wParam, LPARAM l
switch (eventType) {
case EV_PROTO_ONLOAD: return OnModulesLoaded(0, 0);
case EV_PROTO_ONEXIT: return OnPreShutdown(0, 0);
- case EV_PROTO_ONOPTIONS: return OnInitOptionsPages(wParam, lParam);
case EV_PROTO_ONMENU:
InitMainMenus();