Mercurial > hg
comparison mcabber/mcabber/fifo_internal.c @ 2164:038c4d601011
Simplify handling of command '/quit'
author | franky |
---|---|
date | Fri, 17 Oct 2014 22:31:03 +0200 |
parents | 8da280d34b48 |
children | f5402d705f67 |
comparison
equal
deleted
inserted
replaced
2163:0ac8eea728d1 | 2164:038c4d601011 |
---|---|
70 else | 70 else |
71 logflag = LPRINT_LOGNORM; | 71 logflag = LPRINT_LOGNORM; |
72 scr_LogPrint(logflag, "%s FIFO command: %s", | 72 scr_LogPrint(logflag, "%s FIFO command: %s", |
73 (fifo_ignore ? "Ignoring" : "Executing"), buf); | 73 (fifo_ignore ? "Ignoring" : "Executing"), buf); |
74 if (!fifo_ignore) { | 74 if (!fifo_ignore) { |
75 if (process_command(buf, TRUE) == 255) | 75 process_command(buf, TRUE); |
76 mcabber_set_terminate_ui(); | |
77 } | 76 } |
78 | 77 |
79 g_free(buf); | 78 g_free(buf); |
80 } | 79 } |
81 } else if (condition & (G_IO_ERR|G_IO_NVAL|G_IO_HUP)) { | 80 } else if (condition & (G_IO_ERR|G_IO_NVAL|G_IO_HUP)) { |