diff options
Diffstat (limited to '')
-rw-r--r-- | input.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/input.c b/input.c index d31172c..cc52928 100644 --- a/input.c +++ b/input.c @@ -105,12 +105,7 @@ static void inputTopic(struct Tag tag, char *params) { static void inputQuit(struct Tag tag, char *params) { (void)tag; - if (params) { - ircFmt("QUIT :%s\r\n", params); - } else { - ircFmt("QUIT :Goodbye\r\n"); - } - eventQuit(); + ircFmt("QUIT :%s\r\n", params ? params : "Goodbye"); } static void inputURL(struct Tag tag, char *params) { |