]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/extra/m_sslinfo.cpp
new/delete - malloc/free, remember peavey
[user/henk/code/inspircd.git] / src / modules / extra / m_sslinfo.cpp
index d87ac64e39c23a636394db3f2ae82d2d2d7aab6c..b16c7f0eed3d8e35e1eb3a31558315d44788080e 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
@@ -33,7 +33,7 @@ class cmd_sslinfo : public Command
                this->syntax = "<nick>";
        }
 
-       CmdResult Handle (const char** parameters, int pcnt, User *user)
+       CmdResult Handle (const char* const* parameters, int pcnt, User *user)
        {
                User* target = ServerInstance->FindNick(parameters[0]);
                ssl_cert* cert;
@@ -74,12 +74,10 @@ class ModuleSSLInfo : public Module
                
                newcommand = new cmd_sslinfo(ServerInstance);
                ServerInstance->AddCommand(newcommand);
-       }
 
-       void Implements(char* List)
-       {
        }
 
+
        virtual ~ModuleSSLInfo()
        {
        }