Mercurial > ~mikael > mcabber > hg
diff mcabber/mcabber/settings.c @ 2164:038c4d601011
Simplify handling of command '/quit'
author | franky |
---|---|
date | Fri, 17 Oct 2014 22:31:03 +0200 |
parents | dd65a18dc480 |
children | ccd4ffa41a1b |
line wrap: on
line diff
--- a/mcabber/mcabber/settings.c Fri Oct 17 22:15:46 2014 +0200 +++ b/mcabber/mcabber/settings.c Fri Oct 17 22:31:03 2014 +0200 @@ -203,8 +203,7 @@ // Set the leading COMMAND_CHAR to build a command line // and process the command *(--line) = COMMAND_CHAR; - if (process_command(line, TRUE) == 255) - mcabber_set_terminate_ui(); + process_command(line, TRUE); } g_free(buf); fclose(fp);