std::string stats;
public:
- CommandWhowas(InspIRCd* Instance, Module* parent);
+ CommandWhowas(Module* parent);
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
/** Used to hold WHOWAS information
*/
-class WhoWasGroup : public classbase
+class WhoWasGroup
{
public:
/** Real host
std::string ident;
/** Server name
*/
- const char* server;
+ std::string server;
/** Fullname (GECOS)
*/
std::string gecos;
*/
time_t signon;
- /** Initialize this WhoQasFroup with a user
+ /** Initialize this WhoWasFroup with a user
*/
WhoWasGroup(User* user);
/** Destructor
class WhoWasMaintainTimer : public Timer
{
- private:
- InspIRCd* ServerInstance;
public:
- WhoWasMaintainTimer(InspIRCd* Instance, long interval)
- : Timer(interval, Instance->Time(), true), ServerInstance(Instance)
+ WhoWasMaintainTimer(long interval)
+ : Timer(interval, ServerInstance->Time(), true)
{
}
virtual void Tick(time_t TIME);