Add a few changes to the command manager for not-commands to be able to check if source is a object

This commit is contained in:
Zontreck 2020-08-31 02:35:32 -07:00
parent 0c9f5ab5be
commit 36d40cb0bb
2 changed files with 3 additions and 3 deletions

View file

@ -6,7 +6,7 @@ using System.Reflection;
[assembly: AssemblyCompany("ZNI")] [assembly: AssemblyCompany("ZNI")]
[assembly: AssemblyAlgorithmId(System.Configuration.Assemblies.AssemblyHashAlgorithm.MD5)] [assembly: AssemblyAlgorithmId(System.Configuration.Assemblies.AssemblyHashAlgorithm.MD5)]
[assembly: AssemblyCopyright("(C) 2020 Tara Piccari")] [assembly: AssemblyCopyright("(C) 2020 Tara Piccari")]
[assembly: AssemblyFileVersion("5.0.5.1004")] [assembly: AssemblyFileVersion("5.0.5.1005")]
[assembly: AssemblyDescription("Second Life Bot - BotCore5")] [assembly: AssemblyDescription("Second Life Bot - BotCore5")]
@ -15,7 +15,7 @@ namespace Bot.Assemble
public class ASMInfo public class ASMInfo
{ {
public static string BotName = "ZBotCore"; public static string BotName = "ZBotCore";
public static string BotVer = "5.0.5.1004"; public static string BotVer = "5.0.5.1005";
public static string GitPassword public static string GitPassword
{ {
get get

View file

@ -96,7 +96,7 @@ namespace Bot.CommandSystem
if (request.Substring(0, 1) != "!") if (request.Substring(0, 1) != "!")
{ {
// Check if active bug or feature report session. If not- return. // Check if active bug or feature report session. If not- return.
nRegistry.Dispatch(request, agentKey, agentName, sourceLoc, fromID); nRegistry.Dispatch(request, agentKey, ((parameters.source == "obj") ? "Object" : agentName), sourceLoc, fromID);
/* /*
if (ocb.ActiveReportSessions.ContainsKey(agentKey) && ocb.ActiveReportSessions.Count > 0) if (ocb.ActiveReportSessions.ContainsKey(agentKey) && ocb.ActiveReportSessions.Count > 0)
{ {