]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_rpc_json.cpp
In visual studio, CRT crashes when strftime() is given an invalid format specifier...
[user/henk/code/inspircd.git] / src / modules / m_rpc_json.cpp
index 81fb727d36710c54eb91b27b93fa4f2ba60b499c..1c472aa17b8179af5abbdc6d13bc2ace1ff9d437 100644 (file)
@@ -2,7 +2,7 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2007 InspIRCd Development Team
+ *  InspIRCd: (C) 2002-2008 InspIRCd Development Team
  * See: http://www.inspircd.org/wiki/index.php/Credits
  *
  * This program is free but copyrighted software; see
@@ -27,8 +27,8 @@ class JsonException : public std::exception
  private:
        std::string _what;
  public:
-       JsonException(const std::string &what)
-               : _what(what)
+       JsonException(const std::string &swhat)
+               : _what(swhat)
        {
        }
        
@@ -59,7 +59,7 @@ class ModuleRpcJson : public Module
        
        virtual Version GetVersion()
        {
-               return Version(1, 1, 0, 0, VF_SERVICEPROVIDER | VF_VENDOR, API_VERSION);
+               return Version(1, 2, 0, 0, VF_SERVICEPROVIDER | VF_VENDOR, API_VERSION);
        }