]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/timer.h
Use FindNickOnly in a few commands to prevent enumerating users via UID walking
[user/henk/code/inspircd.git] / include / timer.h
index 9c46b4f819674e92a78fb41e0d018fb77e0e2623..04158ebb9d41443262153672a929b5a9df3082d1 100644 (file)
@@ -2,7 +2,7 @@
  *       | 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
@@ -14,8 +14,6 @@
 #ifndef INSPIRCD_TIMER_H
 #define INSPIRCD_TIMER_H
 
-//class InspIRCd;
-
 /** Timer class for one-second resolution timers
  * Timer provides a facility which allows module
  * developers to create one-shot timers. The timer
@@ -118,13 +116,10 @@ class CoreExport TimerManager
         */
        std::vector<Timer *> Timers;
 
-       /** Creating server instance
-        */
-       InspIRCd* ServerInstance;
  public:
        /** Constructor
         */
-       TimerManager(InspIRCd* Instance);
+       TimerManager();
        ~TimerManager();
 
        /** Tick all pending Timers