* | Inspire Internet Relay Chat Daemon |
* +------------------------------------+
*
- * InspIRCd: (C) 2002-2009 InspIRCd Development Team
+ * InspIRCd: (C) 2002-2010 InspIRCd Development Team
* See: http://wiki.inspircd.org/Credits
*
* This program is free but copyrighted software; see
*/
whowas_users_fifo whowas_fifo;
- /* String holding stats so it can be collected
- */
- 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);