diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-11-15 18:26:44 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-11-15 18:26:44 +0000 |
commit | 8ab1381e8d277152d99a72f33f3d1c0564060fee (patch) | |
tree | 3dda11a9bb46c2f2142330c042ff43c4378ad33a /include/modes | |
parent | d3747f2943c403863bc31c8d3e9802ccc763f4d3 (diff) |
Add ParamChannelModeHandler
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12134 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/modes')
-rw-r--r-- | include/modes/cmode_l.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/modes/cmode_l.h b/include/modes/cmode_l.h index dc93396d7..80e863057 100644 --- a/include/modes/cmode_l.h +++ b/include/modes/cmode_l.h @@ -13,14 +13,12 @@ #include "mode.h" -class InspIRCd; - /** Channel mode +l */ -class ModeChannelLimit : public ModeHandler +class ModeChannelLimit : public ParamChannelModeHandler { public: ModeChannelLimit(); - ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string ¶meter, bool adding); + bool ParamValidate(std::string& parameter); bool ResolveModeConflict(std::string &their_param, const std::string &our_param, Channel* channel); }; |