]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/extra/m_sslinfo.cpp
Fix a lot of calls to match() and uses of wildcard.h (which doesn't exist anymore...
[user/henk/code/inspircd.git] / src / modules / extra / m_sslinfo.cpp
index 6c74b15d442af9df894321c6c6fb137712731664..5c4e5072191c5473ebe8217f26bcefafaae6538c 100644 (file)
@@ -16,7 +16,6 @@
 #include "channels.h"
 #include "modules.h"
 #include "transport.h"
-#include "wildcard.h"
 #include "dns.h"
 
 /* $ModDesc: Provides /sslinfo command used to test who a mask matches */
@@ -58,7 +57,7 @@ class cmd_sslinfo : public Command
                        }
                }
                else
-                       user->WriteNumeric(401, "%s %s :No such nickname", user->nick.c_str(), parameters[0].c_str());
+                       user->WriteNumeric(ERR_NOSUCHNICK, "%s %s :No such nickname", user->nick.c_str(), parameters[0].c_str());
 
                return CMD_FAILURE;
        }
@@ -71,7 +70,7 @@ class ModuleSSLInfo : public Module
        ModuleSSLInfo(InspIRCd* Me)
                : Module(Me)
        {
-               
+
                newcommand = new cmd_sslinfo(ServerInstance);
                ServerInstance->AddCommand(newcommand);
 
@@ -81,7 +80,7 @@ class ModuleSSLInfo : public Module
        virtual ~ModuleSSLInfo()
        {
        }
-       
+
        virtual Version GetVersion()
        {
                return Version(1, 2, 0, 0, VF_VENDOR, API_VERSION);