1
0
mirror of https://github.com/anope/anope.git synced 2026-07-10 19:03:13 +02:00

Added options:nomlock

This commit is contained in:
Adam
2011-01-19 00:31:18 -05:00
parent e7a8bcc30b
commit ab2e34d817
6 changed files with 24 additions and 2 deletions
+2
View File
@@ -544,6 +544,8 @@ class CoreExport ServerConfig
unsigned NewsCount;
/* Default mlock modes */
Anope::string MLock;
/* Unmlockable modes */
Anope::string NoMLock;
/* Default botmodes on channels, defaults to ao */
Anope::string BotModes;
/* THe actual modes */
+1 -1
View File
@@ -195,7 +195,7 @@ class CoreExport ChannelMode : public Mode
* NOTE: User CAN be NULL, this is for checking if it can be locked with defcon
* @param u The user, or NULL
*/
virtual bool CanSet(User *u) const { return true; }
bool CanSet(User *u) const;
};