class CommandTline : public Command
{
public:
- CommandTline (InspIRCd* Instance) : Command(Instance,"TLINE", "o", 1)
+ CommandTline (InspIRCd* Instance, Module* Creator) : Command(Instance, Creator,"TLINE", "o", 1)
{
- this->source = "m_tline.so";
this->syntax = "<mask>";
}
else
user->WriteServ( "NOTICE %s :*** TLINE: Counted %0.0f user(s). Matched '%s' against no user(s).", user->nick.c_str(), n_counted, parameters[0].c_str());
- return CMD_LOCALONLY;
+ return CMD_SUCCESS;
}
};
CommandTline cmd;
public:
ModuleTLine(InspIRCd* Me)
- : Module(Me), cmd(Me)
+ : Module(Me), cmd(Me, this)
{
ServerInstance->AddCommand(&cmd);
}