diff options
author | George Hazan <ghazan@miranda.im> | 2018-04-19 18:19:47 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-04-19 18:19:47 +0300 |
commit | 624c9066d85c4da900cf440ca6066f86ef0b044d (patch) | |
tree | add8020aeecd60ccc892640914496dcd315947c0 /protocols/Twitter | |
parent | 2dd3e220e4c783a5454d763b01d56e71042644f2 (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/Twitter')
-rw-r--r-- | protocols/Twitter/src/proto.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Twitter/src/proto.cpp b/protocols/Twitter/src/proto.cpp index b57cf5d452..966d749c86 100644 --- a/protocols/Twitter/src/proto.cpp +++ b/protocols/Twitter/src/proto.cpp @@ -180,8 +180,8 @@ int TwitterProto::SetStatus(int new_status) int TwitterProto::OnEvent(PROTOEVENTTYPE event, WPARAM wParam, LPARAM lParam)
{
switch (event) {
- case EV_PROTO_ONLOAD: return OnModulesLoaded(wParam, lParam);
- case EV_PROTO_ONOPTIONS: return OnOptionsInit(wParam, lParam);
+ case EV_PROTO_ONLOAD:
+ return OnModulesLoaded(wParam, lParam);
}
return 1;
|