]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/modes/cmode_s.h
Wheee, mass commit! this adds const stafety, throwing a compile error if anyone does...
[user/henk/code/inspircd.git] / include / modes / cmode_s.h
index 981bddfafd974907e4d1fba6a2e5263536ea0ade..a6b2054c550e7f6173af7bbd3ffbddf837cb3bdf 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 +s
+ */
 class ModeChannelSecret : public ModeHandler
 {
  public:
-       ModeChannelSecret();
-       ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string &parameter, bool adding);
+       ModeChannelSecret(InspIRCd* Instance);
+       ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string &parameter, bool adding, bool servermode);
 };