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/protocol/charybdis.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/protocol/charybdis.c')
-rw-r--r-- | src/protocol/charybdis.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/protocol/charybdis.c b/src/protocol/charybdis.c index ed712faf0..44f87da00 100644 --- a/src/protocol/charybdis.c +++ b/src/protocol/charybdis.c @@ -1331,15 +1331,15 @@ class ProtoCharybdis : public Module moduleAddIRCDMsgs(); hk = createEventHook(EVENT_NICK_IDENTIFY, charybdis_send_account); - moduleAddEventHook(hk); + this->AddEventHook(hk); hk = createEventHook(EVENT_NICK_REGISTERED, charybdis_send_account); - moduleAddEventHook(hk); + this->AddEventHook(hk); /* XXX: It'd be nice if we could have an event like this, but it's not there yet :( */ /* It's there now! Trystan said so! -GD */ hk = createEventHook(EVENT_NICK_LOGOUT, charybdis_send_deaccount); - moduleAddEventHook(hk); + this->AddEventHook(hk); } ~ProtoCharybdis() |