summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorPatrick Griffis <tingping@tingping.se>2016-04-07 19:02:38 -0400
committerPatrick Griffis <tingping@tingping.se>2016-04-07 19:02:38 -0400
commit529ae4cc8940c7cf5c75f59fec21152d946b0e8d (patch)
tree2315f4fa36f99f87f709248096df504c117961fe
parent5b05271e4cc31399c9d32232114d5ae66522a881 (diff)
lua: Fix explicit braces warning
-rw-r--r--plugins/lua/lua.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/lua/lua.c b/plugins/lua/lua.c
index d5c125cb..816ee2b5 100644
--- a/plugins/lua/lua.c
+++ b/plugins/lua/lua.c
@@ -1624,6 +1624,7 @@ static int command_lua(char *word[], char *word_eol[], void *userdata)
 	else if(!strcmp(word[2], "reset"))
 	{
 		if(interp)
+		{
 			if(interp->status & STATUS_ACTIVE)
 			{
 				interp->status |= STATUS_DEFERRED_RELOAD;
@@ -1634,6 +1635,7 @@ static int command_lua(char *word[], char *word_eol[], void *userdata)
 				destroy_interpreter();
 				create_interpreter();
 			}
+		}
 	}
 	else if(!strcmp(word[2], "list"))
 	{