summaryrefslogtreecommitdiff
path: root/include/regchannel.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-02-18 15:47:16 -0500
committerAdam <Adam@anope.org>2012-02-18 15:47:16 -0500
commitf2ce9cd85ce831ba291f3a6353b308802f327e87 (patch)
tree44e784d9d54b83701e0c5f5d2b6d75cf8cb1fd20 /include/regchannel.h
parentee5cd8493e34a1c049066ead25e9094b30cd49b5 (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.h3
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 &param = "");
+ bool RemoveMLock(ChannelMode *mode, bool status, const Anope::string &param = "");
/** Clear all mlocks on the channel
*/