summaryrefslogtreecommitdiff
path: root/include/commands/cmd_whowas.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/commands/cmd_whowas.h')
-rw-r--r--include/commands/cmd_whowas.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/commands/cmd_whowas.h b/include/commands/cmd_whowas.h
index 5109ab54a..99d12cca4 100644
--- a/include/commands/cmd_whowas.h
+++ b/include/commands/cmd_whowas.h
@@ -126,11 +126,9 @@ class WhoWasGroup : public classbase
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);