diff options
-rw-r--r-- | bounce.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/bounce.c b/bounce.c index e113cc6..71433ee 100644 --- a/bounce.c +++ b/bounce.c @@ -567,10 +567,8 @@ int main(int argc, char *argv[]) { for (size_t i = clientIndex; i < event.len; ++i) { struct Client *client = event.clients[i]; if (!client->need) { - clientFormat( - client, ":%s QUIT :%s\r\nERROR :Disconnecting\r\n", - stateEcho(), quit - ); + clientFormat(client, ":%s QUIT :%s\r\n", stateEcho(), quit); + clientFormat(client, "ERROR :Disconnecting\r\n"); } clientFree(client); } |