]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Server/src/command.cpp
Se corrige bug reportado por ricky.
[z.facultad/75.42/plaqui.git] / Server / src / command.cpp
index 2db14f0095aef36f00f3b17c63f0298fcbc30264..08a73c9b36ae4a9bd5cb18bec05325d667acd2ff 100644 (file)
@@ -44,12 +44,13 @@ Command::~Command(void) {
 #endif // DEBUG
 }
 
-Command::Command(const string& target, const string& command):
-               target(target), command(command) {
+Command::Command(const string& _target, const string& _command) {
 #ifdef DEBUG
        cerr << __FILE__ << ": target = " << target << " | "
                        << "command = " << command << endl;
 #endif // DEBUG
+       set_target(_target);
+       set_command(_command);
 }
 
 void Command::build(void) {