X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fmodes%2Fumode_w.h;h=a45c64ef0ac7a41b48fe9c10556db2a4adfb2bc8;hb=4d03a38661cb7fa6a0880b66bbebf1d892ba5013;hp=ce3db0a52047c9de9bb9e8fa868e4d8490ef7a47;hpb=f9636a2eff46f6829bf9e01c711ab1ba45a7d50a;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/modes/umode_w.h b/include/modes/umode_w.h index ce3db0a52..a45c64ef0 100644 --- a/include/modes/umode_w.h +++ b/include/modes/umode_w.h @@ -1,10 +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; -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 ¶meter, bool adding); + unsigned int GetCount(); };