]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/modes/cmode_t.h
Wheee, mass commit! this adds const stafety, throwing a compile error if anyone does...
[user/henk/code/inspircd.git] / include / modes / cmode_t.h
index 7e852400b589b3288d6af1e94d4b2182aa11734a..3a6d2e512d9a1f4362dcbafcbe030e42f55dc95f 100644 (file)
@@ -1,8 +1,25 @@
+/*       +------------------------------------+
+ *       | Inspire Internet Relay Chat Daemon |
+ *       +------------------------------------+
+ *
+ *  InspIRCd: (C) 2002-2008 InspIRCd Development Team
+ * See: http://www.inspircd.org/wiki/index.php/Credits
+ *
+ * This program is free but copyrighted software; see
+ *            the file COPYING for details.
+ *
+ * ---------------------------------------------------
+ */
+
 #include "mode.h"
 
+class InspIRCd;
+
+/** Channel mode +t
+ */
 class ModeChannelTopicOps : public ModeHandler
 {
  public:
-       ModeChannelTopicOps();
-       ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string &parameter, bool adding);
+       ModeChannelTopicOps(InspIRCd* Instance);
+       ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string &parameter, bool adding, bool servermode);
 };