From 48e0ee1b52859ca320cd1c01efbe33d71f44c328 Mon Sep 17 00:00:00 2001 From: Xavier Pantet <25949462+xavierpantet@users.noreply.github.com> Date: Sun, 5 May 2019 23:15:21 +0200 Subject: [PATCH] Kwikfix --- src/commands/Commands.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/commands/Commands.cpp b/src/commands/Commands.cpp index 37b60ab..a435f1f 100644 --- a/src/commands/Commands.cpp +++ b/src/commands/Commands.cpp @@ -671,6 +671,7 @@ string Commands::cmd_logout(string, unsigned int socket){ return "Logout successful!"; } -string Commands::cmd_exit(string, unsigned int){ +string Commands::cmd_exit(string, unsigned int socket){ + auth.logout(socket); return str_bye; }