summaryrefslogtreecommitdiff
path: root/protocols/Discord/src/proto.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/Discord/src/proto.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/Discord/src/proto.cpp')
-rw-r--r--protocols/Discord/src/proto.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/protocols/Discord/src/proto.cpp b/protocols/Discord/src/proto.cpp
index f15f31bb1b..8c0aaa1abd 100644
--- a/protocols/Discord/src/proto.cpp
+++ b/protocols/Discord/src/proto.cpp
@@ -601,9 +601,6 @@ int CDiscordProto::OnEvent(PROTOEVENTTYPE event, WPARAM wParam, LPARAM lParam)
case EV_PROTO_ONEXIT:
return OnPreShutdown(wParam, lParam);
- case EV_PROTO_ONOPTIONS:
- return OnOptionsInit(wParam, lParam);
-
case EV_PROTO_ONCONTACTDELETED:
return OnDeleteContact((MCONTACT)wParam);
}