diff options
author | attilamolnar <attilamolnar@hush.com> | 2012-10-07 11:49:38 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2012-10-07 11:49:38 +0200 |
commit | 959a3f3ccae40a8891e25b2f1926c3342add5437 (patch) | |
tree | 56bebeb76c1c51be5625b930cba301c832db5cb9 | |
parent | 0a111c19764ed14ab5f724c78d9dd8c08a3c124f (diff) |
InspIRCd: Log when server-side topiclocking is enabled in the config but the module is not loaded
-rw-r--r-- | modules/protocol/inspircd20.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/protocol/inspircd20.cpp b/modules/protocol/inspircd20.cpp index abe9779b6..1ebbc041f 100644 --- a/modules/protocol/inspircd20.cpp +++ b/modules/protocol/inspircd20.cpp @@ -437,6 +437,8 @@ struct IRCDMessageCapab : IRCDMessage Log() << "CHGHOST missing, Usage disabled until module is loaded."; if (!has_chgidentmod) Log() << "CHGIDENT missing, Usage disabled until module is loaded."; + if ((!has_svstopic_topiclock) && (Config->UseServerSideTopicLock)) + Log() << "m_topiclock missing, server side topic locking disabled until module is loaded."; } return true; |