Mercurial > ~mikael > mcabber > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
2163:0ac8eea728d1 | 2164:038c4d601011 |
---|---|
201 } | 201 } |
202 | 202 |
203 // Set the leading COMMAND_CHAR to build a command line | 203 // Set the leading COMMAND_CHAR to build a command line |
204 // and process the command | 204 // and process the command |
205 *(--line) = COMMAND_CHAR; | 205 *(--line) = COMMAND_CHAR; |
206 if (process_command(line, TRUE) == 255) | 206 process_command(line, TRUE); |
207 mcabber_set_terminate_ui(); | |
208 } | 207 } |
209 g_free(buf); | 208 g_free(buf); |
210 fclose(fp); | 209 fclose(fp); |
211 | 210 |
212 if (filename) | 211 if (filename) |