=== modified file 'dcpp/AdcCommand.cpp' --- dcpp/AdcCommand.cpp 2009-03-05 21:23:22 +0000 +++ dcpp/AdcCommand.cpp 2009-07-04 10:06:13 +0000 @@ -27,7 +27,7 @@ AdcCommand::AdcCommand(uint32_t aCmd, char aType /* = TYPE_CLIENT */) : cmdInt(aCmd), from(0), type(aType) { } AdcCommand::AdcCommand(uint32_t aCmd, const uint32_t aTarget, char aType) : cmdInt(aCmd), from(0), to(aTarget), type(aType) { } AdcCommand::AdcCommand(Severity sev, Error err, const string& desc, char aType /* = TYPE_CLIENT */) : cmdInt(CMD_STA), from(0), type(aType) { - addParam(Util::toString(sev * 100 + err)); + addParam((sev == SEV_SUCCESS && err == SUCCESS) ? "000" : Util::toString(sev * 100 + err)); addParam(desc); }