/* $ModDesc: Sends the /LUSERS on connect */
-extern InspIRCd* ServerInstance;
+
// This has to be the simplest module ever.
// The RFC doesnt specify that you should send the /LUSERS numerics
{
private:
- Server *Srv;
+
public:
ModuleConnLUSERS(InspIRCd* Me)
: Module::Module(Me)
}
else
{
- Srv->CallCommandHandler("LUSERS", NULL, 0, user);
+ ServerInstance->CallCommandHandler("LUSERS", NULL, 0, user);
}
}
};