diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-09-13 20:33:41 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-09-13 20:33:41 +0000 |
commit | 75a158fe6361319628f6145b7b3b3458c55ac85a (patch) | |
tree | 0df345feae05479377d2e06d933702dfa5fa9c77 /src/modules/m_sslinfo.cpp | |
parent | 2307fd05b237b01e956e89de0a90613c6fdbfd78 (diff) |
Fix automated metadata decoding with ExtItem
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11715 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_sslinfo.cpp')
-rw-r--r-- | src/modules/m_sslinfo.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
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<std::string> ¶meters, User *user, bool validated, const std::string &original_line) + ModResult OnPreCommand(std::string &command, std::vector<std::string> ¶meters, User *user, bool validated, const std::string &original_line) { irc::string pcmd = command.c_str(); |