X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fmodes%2Fumode_o.h;h=31f166131e997a311e4a8f7851dfb94970a2a9cd;hb=99a1ea0892b575c6d66d9f4c0aab5042c261ce4a;hp=736909fdfa01fa443d74610a1ed0ff9c1ae74b2b;hpb=f9636a2eff46f6829bf9e01c711ab1ba45a7d50a;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/modes/umode_o.h b/include/modes/umode_o.h index 736909fdf..31f166131 100644 --- a/include/modes/umode_o.h +++ b/include/modes/umode_o.h @@ -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 ¶meter, bool adding); + ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string ¶meter, bool adding, bool servermode); + unsigned int GetCount(); };