diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2010-01-14 18:22:39 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2010-01-14 18:22:39 +0000 |
commit | ac002a195d35b12218b912d369570aad45c1839f (patch) | |
tree | c63f858d8cf3c740c33514a12d45d4db16e7b5ae /src/modules.cpp | |
parent | c84271be2e581bc50aa89ba2185a219cc8154ef0 (diff) |
Verify cloak keys match during CAPAB negotiation
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12258 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules.cpp')
-rw-r--r-- | src/modules.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/modules.cpp b/src/modules.cpp index f460a6a28..cbd6c7b38 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -26,8 +26,14 @@ // Version is a simple class for holding a modules version number template<> -VersionBase<API_VERSION>::VersionBase(const std::string &modv, int flags) -: description(modv), Flags(flags) +VersionBase<API_VERSION>::VersionBase(const std::string &desc, int flags) +: description(desc), Flags(flags) +{ +} + +template<> +VersionBase<API_VERSION>::VersionBase(const std::string &desc, int flags, const std::string& linkdata) +: description(desc), Flags(flags), link_data(linkdata) { } |