From 938bd268e0eb4fe6f1f0ff3cd12ce9bce2bb3c25 Mon Sep 17 00:00:00 2001 From: JD Horelick Date: Mon, 8 Mar 2010 13:51:46 -0500 Subject: [PATCH] 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. --- modules/m_info.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/modules/m_info.c b/modules/m_info.c index 44c7ff8..2e0d7de 100644 --- a/modules/m_info.c +++ b/modules/m_info.c @@ -626,22 +626,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." }, {