diff options
-rw-r--r-- | src/command/commands.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/command/commands.c b/src/command/commands.c index 5e7e0951..286b0afe 100644 --- a/src/command/commands.c +++ b/src/command/commands.c @@ -827,7 +827,7 @@ cmd_export(ProfWin *window, const char *const command, gchar **args) cons_show("You are not currently connected."); cons_show(""); return TRUE; - } else if(args[0]) { + } else { GString *fname = g_string_new(""); GSList *list = NULL; int fd; @@ -885,8 +885,6 @@ write_error: g_slist_free(list); close(fd); return TRUE; - } else { - return FALSE; } } |