]> 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 44c7ff854c6ab3a072a999171cc773ad4c11c638..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,
@@ -157,6 +163,12 @@ static struct InfoStruct info_table[] = {
                &ConfigFileEntry.default_operhost,
                "Default vhost for operators to receive upon opering up.",
        },
+       {
+               "static_quit",
+               OUTPUT_STRING,
+               &ConfigFileEntry.static_quit,
+               "Quit message to show for all users.",
+       },
        {
                "servicestring",
                OUTPUT_STRING,
@@ -626,22 +638,22 @@ static struct InfoStruct info_table[] = {
                &ConfigChannel.use_knock,
                "Enable /KNOCK",
        },
-        {
-                "use_local_channels",
-                OUTPUT_BOOLEAN_YN,
-                &ConfigChannel.use_local_channels,
-                "Enable local channels (&channels)"
-        },
+    {
+        "use_local_channels",
+        OUTPUT_BOOLEAN_YN,
+        &ConfigChannel.use_local_channels,
+        "Enable local channels (&channels)"
+    },
        {
                "resv_forcepart",
                OUTPUT_BOOLEAN_YN,
-               { &ConfigChannel.resv_forcepart },
+               &ConfigChannel.resv_forcepart,
                "Force-part local users on channel RESV"
        },
        {
                "kick_no_rejoin_time",
                OUTPUT_DECIMAL,
-               { &ConfigChannel.kick_no_rejoin_time },
+               &ConfigChannel.kick_no_rejoin_time,
                "The amount of time that a user cannot rejoin a +J channel for after being kicked."
        },
        {