]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/modes/cmode_t.h
Merge pull request #244 from SaberUK/insp20-configure-fix
[user/henk/code/inspircd.git] / include / modes / cmode_t.h
index 8a7517ee336b1628f00643173c51f33fc9dc31d6..b11208a3b734d0e21da96699d8857a9601a963ca 100644 (file)
@@ -1,25 +1,30 @@
-/*       +------------------------------------+
- *       | Inspire Internet Relay Chat Daemon |
- *       +------------------------------------+
+/*
+ * InspIRCd -- Internet Relay Chat Daemon
  *
- *  InspIRCd: (C) 2002-2007 InspIRCd Development Team
- * See: http://www.inspircd.org/wiki/index.php/Credits
+ *   Copyright (C) 2007 Dennis Friis <peavey@inspircd.org>
  *
- * 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/>.
  */
 
+
 #include "mode.h"
 
 class InspIRCd;
 
 /** Channel mode +t
  */
-class ModeChannelTopicOps : public ModeHandler
+class ModeChannelTopicOps : public SimpleChannelModeHandler
 {
  public:
-       ModeChannelTopicOps(InspIRCd* Instance);
-       ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string &parameter, bool adding);
+       ModeChannelTopicOps();
 };