diff options
| author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-08 01:30:43 +0000 |
|---|---|---|
| committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-08 01:30:43 +0000 |
| commit | 26cdf257cc864b9ca91e4424e4bc31dc766b2c5d (patch) | |
| tree | e4902d9f7920b7a81d138e22e32d1890ac847922 /src/modules/ns_maxemail.c | |
| parent | 7571ca327e33f649f954604396c1d97c2714b0e0 (diff) | |
moduleAddEventHook -> Module::AddEventHook.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1587 5417fbe8-f217-4b02-8779-1006273d7864
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(); |
