diff options
Diffstat (limited to 'plugins/SmileyAdd/src/main.cpp')
-rw-r--r-- | plugins/SmileyAdd/src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SmileyAdd/src/main.cpp b/plugins/SmileyAdd/src/main.cpp index 38d1380068..81c3c9bb19 100644 --- a/plugins/SmileyAdd/src/main.cpp +++ b/plugins/SmileyAdd/src/main.cpp @@ -113,9 +113,9 @@ extern "C" __declspec(dllexport) int Load(void) HookEvent(ME_PROTO_ACCLISTCHANGED, AccountListChanged);
HookEvent(ME_DB_CONTACT_SETTINGCHANGED, DbSettingChanged);
HookEvent(ME_COLOUR_RELOAD, ReloadColour);
-
HookEvent(ME_MSG_BUTTONPRESSED, SmileyButtonPressed);
- HookEvent(ME_MSG_TOOLBARLOADED, SmileyButtonCreate);
+
+ HookTemporaryEvent(ME_MSG_TOOLBARLOADED, SmileyButtonCreate);
// create the smiley services
CreateServiceFunction(MS_SMILEYADD_REPLACESMILEYS, ReplaceSmileysCommand);
|