]> 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 4ddd51730e36cd59be5f2645478fc3d857deb3b2..3a6d2e512d9a1f4362dcbafcbe030e42f55dc95f 100644 (file)
@@ -1 +1,25 @@
-/*       +------------------------------------+\r *       | Inspire Internet Relay Chat Daemon |\r *       +------------------------------------+\r *\r *  InspIRCd: (C) 2002-2007 InspIRCd Development Team\r * See: http://www.inspircd.org/wiki/index.php/Credits\r *\r * This program is free but copyrighted software; see\r *            the file COPYING for details.\r *\r * ---------------------------------------------------\r */\r\r#include "mode.h"\r\rclass InspIRCd;\r\r/** Channel mode +t\r */\rclass ModeChannelTopicOps : public ModeHandler\r{\r public:\r     ModeChannelTopicOps(InspIRCd* Instance);\r       ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string &parameter, bool adding);\r};\r
\ No newline at end of file
+/*       +------------------------------------+
+ *       | 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(User* source, User* dest, Channel* channel, std::string &parameter, bool adding, bool servermode);
+};