diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-09-13 20:32:03 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-09-13 20:32:03 +0000 |
commit | 0ed3ef9dee2cb8f4b0c37da218a2fd1eee8c31f6 (patch) | |
tree | 933fa0ba26a0113b0404ca52796440bc297a614c /src/modules/m_sslinfo.cpp | |
parent | d9e3bb8d4343643504ab7ee6ab943a000065cc8a (diff) |
Add SerializeFormat for easier metadata formatting
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11704 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_sslinfo.cpp')
-rw-r--r-- | src/modules/m_sslinfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_sslinfo.cpp b/src/modules/m_sslinfo.cpp index bf02ed879..952fcf4a1 100644 --- a/src/modules/m_sslinfo.cpp +++ b/src/modules/m_sslinfo.cpp @@ -29,12 +29,12 @@ class SSLCertExt : public ExtensionItem { delete old; } - std::string serialize(Module* requestor, const Extensible* container, void* item) + std::string serialize(SerializeFormat format, const Extensible* container, void* item) { return static_cast<ssl_cert*>(item)->GetMetaLine(); } - void unserialize(Module* requestor, Extensible* container, const std::string& value) + void unserialize(SerializeFormat format, Extensible* container, const std::string& value) { ssl_cert* cert = new ssl_cert; set(container, cert); |