summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmanuele Giaquinta <exg@irssi.org>2006-09-17 12:39:37 +0000
committerexg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564>2006-09-17 12:39:37 +0000
commite3cf9a4be5a05f2fbe39870e1caf4d7f03f95eef (patch)
tree0d92109ec8f661b3b001f1a235523f1aea903513
parentd5c60cec4f772f72296c12c3855948305fa2a965 (diff)
downloadirssi-e3cf9a4be5a05f2fbe39870e1caf4d7f03f95eef.zip
Remove useless check.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4354 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r--src/core/session.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/session.c b/src/core/session.c
index 48ecba83..b2e61a67 100644
--- a/src/core/session.c
+++ b/src/core/session.c
@@ -93,8 +93,6 @@ static void cmd_upgrade(const char *data)
if (*data == '\0')
data = irssi_binary;
- if (data == NULL)
- cmd_return_error(CMDERR_NOT_ENOUGH_PARAMS);
/* save the session */
session_file = g_strdup_printf("%s/session", get_irssi_dir());