summaryrefslogtreecommitdiff
path: root/plugins/SMS/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SMS/src/main.cpp')
-rw-r--r--plugins/SMS/src/main.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/SMS/src/main.cpp b/plugins/SMS/src/main.cpp
index 426c714da3..5002b87b3d 100644
--- a/plugins/SMS/src/main.cpp
+++ b/plugins/SMS/src/main.cpp
@@ -114,6 +114,11 @@ BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID)
int CMPlugin::Load()
{
+ HookEvent(ME_CLIST_PREBUILDCONTACTMENU, SmsRebuildContactMenu);
+ HookEvent(ME_DB_EVENT_ADDED, handleNewMessage);
+ HookEvent(ME_OPT_INITIALISE, OptInitialise);
+ HookEvent(ME_PROTO_ACK, handleAckSMS);
+ HookEvent(ME_PROTO_ACCLISTCHANGED, RefreshAccountList);
HookEvent(ME_SYSTEM_MODULESLOADED,OnModulesLoaded);
HookEvent(ME_SYSTEM_PRESHUTDOWN,OnPreShutdown);