*/
#include "inspircd.h"
-#include "users.h"
-#include "channels.h"
-#include "modules.h"
#include "wildcard.h"
/* $ModDesc: Provides /tline command used to test who a mask matches */
/** Handle /TLINE
*/
-class cmd_tline : public command_t
+class cmd_tline : public Command
{
public:
- cmd_tline (InspIRCd* Instance) : command_t(Instance,"TLINE", 'o', 1)
+ cmd_tline (InspIRCd* Instance) : Command(Instance,"TLINE", 'o', 1)
{
this->source = "m_tline.so";
this->syntax = "<mask>";
}
- CmdResult Handle (const char** parameters, int pcnt, userrec *user)
+ CmdResult Handle (const char** parameters, int pcnt, User *user)
{
float n_counted = 0;
float n_matched = 0;
}
};
-MODULE_INIT(ModuleTLine);
+MODULE_INIT(ModuleTLine)