#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 */
}
}
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;
}
ModuleSSLInfo(InspIRCd* Me)
: Module(Me)
{
-
+
newcommand = new cmd_sslinfo(ServerInstance);
ServerInstance->AddCommand(newcommand);
virtual ~ModuleSSLInfo()
{
}
-
+
virtual Version GetVersion()
{
return Version(1, 2, 0, 0, VF_VENDOR, API_VERSION);