mirror of
https://github.com/irssi/irssi.git
synced 2024-09-01 04:14:16 -04: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:
parent
d5c60cec4f
commit
e3cf9a4be5
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user