]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/extra/m_testclient.cpp
Remove InspIRCd* parameters and fields
[user/henk/code/inspircd.git] / src / modules / extra / m_testclient.cpp
index c5c07efc09dddf3d675f2d9262aaed5b34a6763e..3e41f533ffcfb284ed0ebe3d69c0754303a2e667 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.
@@ -20,9 +20,8 @@ private:
 
 
 public:
-       ModuleTestClient(InspIRCd* Me)
-               : Module(Me)
-       {
+       ModuleTestClient()
+                       {
                Implementation eventlist[] = { I_OnRequest, I_OnBackgroundTimer };
                ServerInstance->Modules->Attach(eventlist, this, 2);
        }
@@ -30,7 +29,7 @@ public:
 
        virtual Version GetVersion()
        {
-               return Version("$Id$", VF_VENDOR, API_VERSION);
+               return Version("Provides SSL support for clients", VF_VENDOR, API_VERSION);
        }
 
        virtual void OnBackgroundTimer(time_t)
@@ -40,7 +39,7 @@ public:
                if(target)
                {
                        SQLrequest foo = SQLrequest(this, target, "foo",
-                                       SQLquery("UPDATE rawr SET foo = '?' WHERE bar = 42") % time(NULL));
+                                       SQLquery("UPDATE rawr SET foo = '?' WHERE bar = 42") % ServerInstance->Time());
 
                        if(foo.Send())
                        {