summaryrefslogtreecommitdiff
path: root/src/modules.cpp
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-22 01:05:35 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-22 01:05:35 +0000
commit7d93921aabd9c608821baec8a871aff844dfae49 (patch)
tree5c751133d5825873fc34e2b978fc61047d8a9330 /src/modules.cpp
parent9f2e1f901930d3646db5f3c21180f02f2f9ce41f (diff)
Describe module purpose in /MODULES output
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11757 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules.cpp')
-rw-r--r--src/modules.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules.cpp b/src/modules.cpp
index c11b63bec..d38496444 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -28,7 +28,7 @@
// version is a simple class for holding a modules version number
Version::Version(const std::string &modv, int flags, int api_ver, const std::string& rev)
-: version(modv + " - " + rev), Flags(flags), API(api_ver)
+: description(modv), version(rev), Flags(flags), API(api_ver)
{
}
@@ -119,7 +119,6 @@ void Module::OnModuleRehash(User*, const std::string&) { }
void Module::OnRehash(User*) { }
ModResult Module::OnUserPreJoin(User*, Channel*, const char*, std::string&, const std::string&) { return MOD_RES_PASSTHRU; }
void Module::OnMode(User*, void*, int, const std::vector<std::string>&, const std::vector<TranslateType>&) { }
-Version Module::GetVersion() { return Version("Misconfigured", VF_VENDOR, -1); }
void Module::OnOper(User*, const std::string&) { }
void Module::OnPostOper(User*, const std::string&, const std::string &) { }
void Module::OnInfo(User*) { }