]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_rpc_json.cpp
Patch to fix timedbans crash reported earlier today, thanks for the headsup wonderwal
[user/henk/code/inspircd.git] / src / modules / m_rpc_json.cpp
index e0421f6113f12ac911c7f75127fdbcb6201d930c..1c472aa17b8179af5abbdc6d13bc2ace1ff9d437 100644 (file)
@@ -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);
        }