1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

Remove useless check.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4354 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Emanuele Giaquinta 2006-09-17 12:39:37 +00:00 committed by exg
parent d5c60cec4f
commit e3cf9a4be5

View File

@ -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());