diff options
author | Adam <Adam@anope.org> | 2014-12-10 01:29:18 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2014-12-10 01:29:18 -0500 |
commit | 3e5a5e1c669f6027b897f7358d45f92e1552f746 (patch) | |
tree | 5be9d41890d79eb0472f374b3f2a0ab9b36b1941 /modules/commands/ns_cert.cpp | |
parent | 42238034490fb5479d787bd1695750387d508200 (diff) |
Use a triat class for event names instead of having to manually give them places, which is much less error prone
Diffstat (limited to 'modules/commands/ns_cert.cpp')
-rw-r--r-- | modules/commands/ns_cert.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/commands/ns_cert.cpp b/modules/commands/ns_cert.cpp index c743c619a..a241f9c97 100644 --- a/modules/commands/ns_cert.cpp +++ b/modules/commands/ns_cert.cpp @@ -313,11 +313,11 @@ class NSCert : public Module public: NSCert(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR) - , EventHook<Event::Fingerprint>("OnFingerprint") - , EventHook<NickServ::Event::NickValidate>("OnNickValidate") + , EventHook<Event::Fingerprint>() + , EventHook<NickServ::Event::NickValidate>() , commandnscert(this) , cs(this) - , onnickservevents(this, "OnNickCert") + , onnickservevents(this) { if (!IRCD || !IRCD->CanCertFP) throw ModuleException("Your IRCd does not support ssl client certificates"); |