diff options
author | Adam <Adam@anope.org> | 2012-02-18 15:47:16 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-02-18 15:47:16 -0500 |
commit | f2ce9cd85ce831ba291f3a6353b308802f327e87 (patch) | |
tree | 44e784d9d54b83701e0c5f5d2b6d75cf8cb1fd20 /include/regchannel.h | |
parent | ee5cd8493e34a1c049066ead25e9094b30cd49b5 (diff) |
Made mode lock del check status of the mode lock before removing it
Diffstat (limited to 'include/regchannel.h')
-rw-r--r-- | include/regchannel.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/regchannel.h b/include/regchannel.h index 851d98f19..93a242a28 100644 --- a/include/regchannel.h +++ b/include/regchannel.h @@ -363,10 +363,11 @@ class CoreExport ChannelInfo : public Extensible, public Flags<ChannelInfoFlag, /** Remove a mlock * @param mode The mode + * @param status True for mlock on, false for mlock off * @param param The param of the mode, required if it is a list or status mode * @return true on success, false on failure */ - bool RemoveMLock(ChannelMode *mode, const Anope::string ¶m = ""); + bool RemoveMLock(ChannelMode *mode, bool status, const Anope::string ¶m = ""); /** Clear all mlocks on the channel */ |