diff --git a/BSBshared/BotTypes/BasicBot.cs b/BSBshared/BotTypes/BasicBot.cs index 9440a12..13e70c3 100644 --- a/BSBshared/BotTypes/BasicBot.cs +++ b/BSBshared/BotTypes/BasicBot.cs @@ -190,6 +190,10 @@ namespace BetterSecondBotShared.bottypes { Start(false); } + protected virtual void AvoidSim(string simname) + { + } + public virtual void Start(bool use_home_region_redirect) { Client = new GridClient(); @@ -243,6 +247,7 @@ namespace BetterSecondBotShared.bottypes string[] nexthome = getNextHomeArgs(); if (nexthome.Length == 4) { Info("Recovery login going to "+ nexthome[0]); + AvoidSim(nexthome[0]); Lp.Start = "" + Lp.URI + ":" + String.Join("&", nexthome); } else diff --git a/Core/bottypes/athome.cs b/Core/bottypes/athome.cs index 62df63b..a9e3b15 100644 --- a/Core/bottypes/athome.cs +++ b/Core/bottypes/athome.cs @@ -123,7 +123,7 @@ namespace BSB.bottypes - protected void AvoidSim(string simname) + protected override void AvoidSim(string simname) { if (avoid_sims.ContainsKey(simname) == false) {