diff options
Diffstat (limited to 'src/modules/ns_maxemail.c')
-rw-r--r-- | src/modules/ns_maxemail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/ns_maxemail.c b/src/modules/ns_maxemail.c index a25248bca..20d63eb67 100644 --- a/src/modules/ns_maxemail.c +++ b/src/modules/ns_maxemail.c @@ -49,7 +49,7 @@ class NSMaxEmail : public Module moduleAddCommand(NICKSERV, c, MOD_HEAD); evt = createEventHook(EVENT_RELOAD, my_event_reload); - if ((status = moduleAddEventHook(evt))) + if ((status = this->AddEventHook(evt))) throw ModuleException("ns_maxemail: Unable to hook to EVENT_RELOAD"); my_load_config(); |