diff options
author | DukePyrolator <DukePyrolator@anope.org> | 2012-04-08 12:43:34 +0200 |
---|---|---|
committer | DukePyrolator <DukePyrolator@anope.org> | 2012-04-08 12:43:34 +0200 |
commit | deb5196101bb14d6656fb89b9ec9e5f8b96eb31d (patch) | |
tree | 733001e6fc4af6cb2a42915d586e448dde742f77 /include/channels.h | |
parent | 9e1fda2a44dee120e26acc6e51fbe779eea97712 (diff) |
Added Chanstats. It uses a new, improved database format and is not compatible with current phpdenora or magirc installations.
Diffstat (limited to 'include/channels.h')
-rw-r--r-- | include/channels.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/channels.h b/include/channels.h index eadde3df5..43da37f51 100644 --- a/include/channels.h +++ b/include/channels.h @@ -135,18 +135,20 @@ class CoreExport Channel : public Base, public Extensible, public Flags<ChannelF std::pair<ModeList::iterator, ModeList::iterator> GetModeList(ChannelModeName Name); /** Set a mode internally on a channel, this is not sent out to the IRCd + * @param setter The setter * @param cm The mode * @param param The param * @param EnforceMLock true if mlocks should be enforced, false to override mlock */ - void SetModeInternal(ChannelMode *cm, const Anope::string ¶m = "", bool EnforceMLock = true); + void SetModeInternal(User *setter, ChannelMode *cm, const Anope::string ¶m = "", bool EnforceMLock = true); /** Remove a mode internally on a channel, this is not sent out to the IRCd + * @param setter The Setter * @param cm The mode * @param param The param * @param EnforceMLock true if mlocks should be enforced, false to override mlock */ - void RemoveModeInternal(ChannelMode *cm, const Anope::string ¶m = "", bool EnforceMLock = true); + void RemoveModeInternal(User *setter, ChannelMode *cm, const Anope::string ¶m = "", bool EnforceMLock = true); /** Set a mode on a channel * @param bi The client setting the modes |