Update of /cvsroot/wpdev/wolfpack
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21804
Modified Files:
commands.cpp
Log Message:
Command fix
Index: commands.cpp
===================================================================
RCS file: /cvsroot/wpdev/wolfpack/commands.cpp,v
retrieving revision 1.265
retrieving revision 1.266
diff -C2 -d -r1.265 -r1.266
*** commands.cpp 2 Oct 2004 22:15:49 -0000 1.265
--- commands.cpp 4 Oct 2004 20:16:26 -0000 1.266
***************
*** 78,83 ****
// Dispatch the command
! if ( dispatch( socket, pCommand, pArgs ) )
! socket->log( tr( "Used command '%1'.\n" ).arg( command ) );
}
--- 78,87 ----
// Dispatch the command
! socket->log( tr( "Used command '%1'.\n" ).arg( command ) );
!
! if ( !dispatch( socket, pCommand, pArgs ) ) {
! socket->log(tr("Unknown command used: %1.\n").arg(command));
! }
!
}
|