]> 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 8c4a27a4d5fafa6687f12d130104153d4ee9df62..3a6d2e512d9a1f4362dcbafcbe030e42f55dc95f 100644 (file)
@@ -1,10 +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(InspIRCd* Instance);
-       ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string &parameter, bool adding);
+       ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string &parameter, bool adding, bool servermode);
 };