}
};
-
class Modulealltime : public Module
{
CommandAlltime mycommand;
Modulealltime()
: mycommand(this)
{
- ServerInstance->AddCommand(&mycommand);
}
- virtual ~Modulealltime()
+ void init()
{
+ ServerInstance->Modules->AddService(mycommand);
}
virtual Version GetVersion()