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; }