summaryrefslogtreecommitdiff
path: root/src/modules/m_sslinfo.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2015-01-18 10:40:33 +0100
committerAttila Molnar <attilamolnar@hush.com>2015-01-18 10:40:33 +0100
commit4fc2f7199e964ba5112ecdb2613c6fd5c2eee638 (patch)
treebf2469f00fd4dfeaa07c0ab431a9663952cf17b7 /src/modules/m_sslinfo.cpp
parent4b6f7d789333dd9fd3b08f8742a68c0f9c6c2254 (diff)
Specify which Extensible subclass an ExtensionItem is valid for
Diffstat (limited to 'src/modules/m_sslinfo.cpp')
-rw-r--r--src/modules/m_sslinfo.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/modules/m_sslinfo.cpp b/src/modules/m_sslinfo.cpp
index c354e4e0e..f861f1236 100644
--- a/src/modules/m_sslinfo.cpp
+++ b/src/modules/m_sslinfo.cpp
@@ -22,7 +22,11 @@
class SSLCertExt : public ExtensionItem {
public:
- SSLCertExt(Module* parent) : ExtensionItem("ssl_cert", parent) {}
+ SSLCertExt(Module* parent)
+ : ExtensionItem("ssl_cert", ExtensionItem::EXT_USER, parent)
+ {
+ }
+
ssl_cert* get(const Extensible* item) const
{
return static_cast<ssl_cert*>(get_raw(item));