]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/modes/umode_w.h
Merge pull request #244 from SaberUK/insp20-configure-fix
[user/henk/code/inspircd.git] / include / modes / umode_w.h
index ce3db0a52047c9de9bb9e8fa868e4d8490ef7a47..2f31b5c9a8b186406c3a50f98d7d4a498afbc83f 100644 (file)
@@ -1,10 +1,30 @@
+/*
+ * InspIRCd -- Internet Relay Chat Daemon
+ *
+ *   Copyright (C) 2007 Dennis Friis <peavey@inspircd.org>
+ *
+ * This file is part of InspIRCd.  InspIRCd is free software: you can
+ * redistribute it and/or modify it under the terms of the GNU General Public
+ * License as published by the Free Software Foundation, version 2.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
+ * details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
+
 #include "mode.h"
 
 class InspIRCd;
 
-class ModeUserWallops : public ModeHandler
+/** User mode +w
+ */
+class ModeUserWallops : public SimpleUserModeHandler
 {
  public:
-       ModeUserWallops(InspIRCd* Instance);
-       ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string &parameter, bool adding);
+       ModeUserWallops();
 };