diff options
| author | Adam <Adam@anope.org> | 2011-04-25 03:16:57 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2011-05-16 04:07:56 -0400 |
| commit | 076ebafa1b4cc935c466c615b94eaac415af9a67 (patch) | |
| tree | dbc8b0f9e7b6f954569c13ad35598f5ebe8a081d /include/regchannel.h | |
| parent | 6922bd239c778e8f6f2081476ce20b9426c515ad (diff) | |
Moved some global functions to be member functions and misc cleanup
Diffstat (limited to 'include/regchannel.h')
| -rw-r--r-- | include/regchannel.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/regchannel.h b/include/regchannel.h index a3112cfbc..851c4a7d1 100644 --- a/include/regchannel.h +++ b/include/regchannel.h @@ -376,6 +376,12 @@ class CoreExport ChannelInfo : public Extensible, public Flags<ChannelInfoFlag, */ ModeLock *GetMLock(ChannelModeName mname, const Anope::string ¶m = ""); + /** Get the current mode locks as a string + * @param complete True to show mlock parameters aswell + * @return A string of mode locks, eg: +nrt + */ + Anope::string GetMLockAsString(bool complete) const; + /** Check whether a user is permitted to be on this channel * @param u The user * @return true if they are allowed, false if they aren't and were kicked |
