From fe3cd1163b24ff6e10bf06d7d83f63a04e80f67a Mon Sep 17 00:00:00 2001
From: Marcos Marado <mindboosternoori@gmail.com>
Date: Tue, 25 Jun 2019 23:22:19 +0100
Subject: [PATCH] Fixed coding style errors

---
 src/groupchat.nim | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/groupchat.nim b/src/groupchat.nim
index db59045..64b0386 100644
--- a/src/groupchat.nim
+++ b/src/groupchat.nim
@@ -78,8 +78,8 @@ proc firstTask(gnunetApp: ref GnunetApplication,
         processClientMessages(channel, chat).addCallback(channelDisconnected)
 
 proc main() =
-  var home = getEnv ("HOME")
   var server, port, configfile: string
+  var home = getEnv("HOME")
   var optParser = initOptParser()
 
   for kind, key, value in optParser.getopt():
@@ -93,10 +93,10 @@ proc main() =
       assert(false)
 
   # Check for existing config
-  if not (fileExists (configfile)):
-    if fileExists (home & "/.config/gnunet.conf"):
+  if not (fileExists(configfile)):
+    if fileExists(home & "/.config/gnunet.conf"):
       configfile = home & "/.config/gnunet.conf"
-    elif fileExists ("/etc/gnunet.conf"):
+    elif fileExists("/etc/gnunet.conf"):
       configfile = "/etc/gnunet.conf"
     else:
       echo "I need a config file to use."
-- 
2.20.1

