]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/cachetimer.h
Route WALLOPS like a regular command, remove OnWallops hook
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / cachetimer.h
index 7b68f5779d74c486cfbf0bd6181fc0911f5defbd..ab6dcdf0923534a4300b30018c9a3224a16f6782 100644 (file)
@@ -1,22 +1,24 @@
-/*       +------------------------------------+
- *       | Inspire Internet Relay Chat Daemon |
- *       +------------------------------------+
+/*
+ * InspIRCd -- Internet Relay Chat Daemon
  *
- *  InspIRCd: (C) 2002-2010 InspIRCd Development Team
- * See: http://wiki.inspircd.org/Credits
+ *   Copyright (C) 2008 Craig Edwards <craigedwards@brainbox.cc>
  *
- * This program is free but copyrighted software; see
- *            the file COPYING for details.
+ * This file is part of InspIRCd.  InspIRCd is free software: you can
+ * redistribute it and/or modify it under the terms of the GNU General Public
+ * License as published by the Free Software Foundation, version 2.
  *
- * ---------------------------------------------------
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
+ * details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef M_SPANNINGTREE_CACHETIMER_H
-#define M_SPANNINGTREE_CACHETIMER_H
 
-#include "timer.h"
+#pragma once
 
-class ModuleSpanningTree;
 class SpanningTreeUtilities;
 
 /** Create a timer which recurs every second, we inherit from Timer.
@@ -29,7 +31,5 @@ class CacheRefreshTimer : public Timer
        SpanningTreeUtilities *Utils;
  public:
        CacheRefreshTimer(SpanningTreeUtilities* Util);
-       virtual void Tick(time_t TIME);
+       bool Tick(time_t TIME);
 };
-
-#endif