]> git.llucax.com Git - z.facultad/75.42/plaqui.git/commitdiff
Se corrige un bug.
authorLeandro Lucarella <llucax@gmail.com>
Sun, 9 Nov 2003 05:48:26 +0000 (05:48 +0000)
committerLeandro Lucarella <llucax@gmail.com>
Sun, 9 Nov 2003 05:48:26 +0000 (05:48 +0000)
Server/src/command.cpp

index 084cf796b6acb3bfe1bb21a364aff5b8f9e8d5d2..91d82ce4491cd74457c24969a93346c7a9b8dd19 100644 (file)
@@ -109,7 +109,7 @@ istream& operator>>(istream& is, Command& command) {
                command.target = "";
        }
        if (command.args.size() > 1) {
                command.target = "";
        }
        if (command.args.size() > 1) {
-               command.command = command.args[1];
+               command.command = command.args[0];
                command.args.erase(command.args.begin());
        } else {
                command.command = "";
                command.args.erase(command.args.begin());
        } else {
                command.command = "";