]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/modes/umode_o.h
Add call to protocol interface to get useful info on the server map. Return a std...
[user/henk/code/inspircd.git] / include / modes / umode_o.h
index 736909fdfa01fa443d74610a1ed0ff9c1ae74b2b..31f166131e997a311e4a8f7851dfb94970a2a9cd 100644 (file)
@@ -1,10 +1,26 @@
+/*       +------------------------------------+
+ *       | 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;
 
+/** User mode +o
+ */
 class ModeUserOperator : public ModeHandler
 {
  public:
        ModeUserOperator(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);
+       unsigned int GetCount();
 };