From 75a158fe6361319628f6145b7b3b3458c55ac85a Mon Sep 17 00:00:00 2001 From: danieldg Date: Sun, 13 Sep 2009 20:33:41 +0000 Subject: Fix automated metadata decoding with ExtItem git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11715 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_sslinfo.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/modules/m_sslinfo.cpp') diff --git a/src/modules/m_sslinfo.cpp b/src/modules/m_sslinfo.cpp index cca32d4da..cd636c633 100644 --- a/src/modules/m_sslinfo.cpp +++ b/src/modules/m_sslinfo.cpp @@ -123,20 +123,20 @@ class ModuleSSLInfo : public Module Extensible::Register(&cmd.CertExt); - Implementation eventlist[] = { I_OnSyncUser, I_OnDecodeMetaData, I_OnWhois, I_OnPreCommand }; - ServerInstance->Modules->Attach(eventlist, this, 4); + Implementation eventlist[] = { I_OnWhois, I_OnPreCommand }; + ServerInstance->Modules->Attach(eventlist, this, 2); } - virtual ~ModuleSSLInfo() + ~ModuleSSLInfo() { } - virtual Version GetVersion() + Version GetVersion() { return Version("SSL Certificate Utilities", VF_VENDOR); } - virtual void OnWhois(User* source, User* dest) + void OnWhois(User* source, User* dest) { if (cmd.CertExt.get(dest)) { @@ -158,7 +158,7 @@ class ModuleSSLInfo : public Module return false; } - virtual ModResult OnPreCommand(std::string &command, std::vector ¶meters, User *user, bool validated, const std::string &original_line) + ModResult OnPreCommand(std::string &command, std::vector ¶meters, User *user, bool validated, const std::string &original_line) { irc::string pcmd = command.c_str(); -- cgit v1.2.3