Skip to content

Commit

Permalink
Temporary fix for being alone in local - need to not consider self ho…
Browse files Browse the repository at this point in the history
…stile
  • Loading branch information
dambrisco committed Sep 29, 2011
1 parent 509c2bc commit bc6d6d5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Wrappers/Session.cs
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,10 @@ public int getLocalCount()
public Boolean isLocalHostile()
{
initializeLocal();
if (getLocalCount() == 1)
{
return false;
}
BooleanResponse tresp = (BooleanResponse)com.sendCall(FunctionCallFactory.CALLS.CHECKLOCAL, Response.RESPONSES.BOOLEANRESPONSE);
if (tresp == null)
{
Expand Down

0 comments on commit bc6d6d5

Please sign in to comment.