]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_httpd_stats.cpp
Instead of re adding the HandshakeTimer in m_spanningtree, make it a reoccurring...
[user/henk/code/inspircd.git] / src / modules / m_httpd_stats.cpp
index 0efe67a270eaa35243e1e561c0caa06b97c06489..9dabfac81034f629fb0e86b9e06274fbdbb2fb78 100644 (file)
@@ -2,8 +2,8 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2008 InspIRCd Development Team
- * See: http://www.inspircd.org/wiki/index.php/Credits
+ *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
+ * See: http://wiki.inspircd.org/Credits
  *
  * This program is free but copyrighted software; see
  *          the file COPYING for details.
@@ -105,7 +105,7 @@ class ModuleHttpStats : public Module
                                {
                                        Module* m = ServerInstance->Modules->Find(i->c_str());
                                        Version v = m->GetVersion();
-                                       data << "<module><name>" << *i << "</name><version>" << v.Major << "." <<  v.Minor << "." << v.Revision << "." << v.Build << "</version></module>";
+                                       data << "<module><name>" << *i << "</name><version>" << v.version << "</version></module>";
                                }
                                data << "</modulelist>";
                                data << "<channellist>";
@@ -196,7 +196,7 @@ class ModuleHttpStats : public Module
 
        virtual Version GetVersion()
        {
-               return Version(1, 2, 0, 0, VF_VENDOR, API_VERSION);
+               return Version("$Id$", VF_VENDOR, API_VERSION);
        }
 };