#include "channels.h"
#include "modules.h"
#include "transport.h"
-#include "wildcard.h"
/** Handle /FINGERPRINT
*/
{
this->source = "m_ssl_oper_cert.so";
syntax = "<nickname>";
- }
-
+ }
+
CmdResult Handle (const std::vector<std::string> ¶meters, User *user)
{
User* target = ServerInstance->FindNick(parameters[0]);
std::string xhost;
while (hl >> xhost)
{
- if (match(host, xhost) || match(ip, xhost, true))
+ if (InspIRCd::Match(host, xhost) || InspIRCd::MatchCIDR(ip, xhost))
{
return true;
}
virtual int OnPreCommand(std::string &command, std::vector<std::string> ¶meters, User *user, bool validated, const std::string &original_line)
{
irc::string cmd = command.c_str();
-
+
if ((cmd == "OPER") && (validated))
{
char TheHost[MAXBUF];
virtual Version GetVersion()
{
- return Version(1,2,0,0,VF_VENDOR,API_VERSION);
+ return Version("$Id$", VF_VENDOR, API_VERSION);
}
};