diff --git a/src/commands/Commands.cpp b/src/commands/Commands.cpp index 8acf5dd..5fc7a2d 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; }