Commits

jdhore committed 5370a23

Remove curly braces around 2 options in m_info. This caused some
compile warnings which are now gone and the 2 options seem to show
just fine in /INFO and nothing segfaults when you do /INFO.

  • Participants
  • Parent commits e9ffec5

Comments (0)

Files changed (1)

File modules/m_info.c

 		&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."
 	},
 	{