]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/modes/cmode_s.h
New mode stuff. Note, the framework is now here so that every mode handler can state...
[user/henk/code/inspircd.git] / include / modes / cmode_s.h
index 981bddfafd974907e4d1fba6a2e5263536ea0ade..e8ddc26140ea513dbeca3effbe7c3e9cc5ce5b1c 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);
 };