]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/m_info.c
Add use_part_messages config option. When disabled, this will show
[irc/rqf/shadowircd.git] / modules / m_info.c
index 85209a9b21ee4b693774ef89e05b73c0f74622eb..4501a185f75854eefd30c139df643254d927a371 100644 (file)
@@ -109,6 +109,12 @@ static struct InfoStruct info_table[] = {
                &ConfigFileEntry.anti_spam_exit_message_time,
                "Duration a client must be connected for to have an exit message"
        },
+       {
+               "use_part_messages",
+               OUTPUT_BOOLEAN_YN,
+               &ConfigFileEntry.use_part_messages,
+               "Whether or not the server should allow users to show messages on PART"
+       },
        {
                "caller_id_wait",
                OUTPUT_DECIMAL,