minor: Use && instead of & when deciding whether to print Improve/ObjectUpdate packet out messages when debug is turned on.

Practical effect is probably none.
connector_plugin
Justin Clark-Casey (justincc) 2012-10-12 02:10:30 +01:00
parent 8873a4a8fc
commit b7e75d467c
1 changed files with 1 additions and 1 deletions

View File

@ -11765,7 +11765,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
logPacket = false;
if (DebugPacketLevel <= 50
& (packet.Type == PacketType.ImprovedTerseObjectUpdate || packet.Type == PacketType.ObjectUpdate))
&& (packet.Type == PacketType.ImprovedTerseObjectUpdate || packet.Type == PacketType.ObjectUpdate))
logPacket = false;
if (DebugPacketLevel <= 25 && packet.Type == PacketType.ObjectPropertiesFamily)