]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_rpc_json.cpp
converting m_d* done
[user/henk/code/inspircd.git] / src / modules / m_rpc_json.cpp
index 8ef0d53a02265ee9ec30c0e084eb01b064f25994..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,13 +59,9 @@ 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);
        }
        
-       void Implements(char *List)
-       {
-               List[I_OnEvent] = 1;
-       }
        
        virtual void OnEvent(Event *event)
        {