]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Server/src/command.cpp
- Se sobreescribe el método Connection::finish() para que cierre el socket.
[z.facultad/75.42/plaqui.git] / Server / src / command.cpp
index 5448ea6be47c9db393818916d48dfb82d04c8293..2db14f0095aef36f00f3b17c63f0298fcbc30264 100644 (file)
@@ -108,7 +108,7 @@ istream& operator>>(istream& is, Command& command) {
        } else {
                command.target = "";
        }
-       if (command.args.size() > 1) {
+       if (command.args.size() > 0) {
                command.command = command.args[0];
                command.args.erase(command.args.begin());
        } else {