diff options
author | Emanuele Giaquinta <exg@irssi.org> | 2006-09-17 12:39:37 +0000 |
---|---|---|
committer | exg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2006-09-17 12:39:37 +0000 |
commit | e3cf9a4be5a05f2fbe39870e1caf4d7f03f95eef (patch) | |
tree | 0d92109ec8f661b3b001f1a235523f1aea903513 | |
parent | d5c60cec4f772f72296c12c3855948305fa2a965 (diff) | |
download | irssi-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.c | 2 |
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()); |