Skip to content

Commit

Permalink
Fixed bug where messages weren't making it to the plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewste committed Mar 20, 2013
1 parent 3a007c7 commit d43a8c1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions OSA.Service/OSAEService.HelperCode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ private void QueryCommandQueue()
if (plugin.Enabled == true && (method.Owner.ToLower() == plugin.PluginName.ToLower() || method.ObjectName.ToLower() == plugin.PluginName.ToLower()))
{
logging.AddToLog("Removing method from queue with ID: " + method.Id, false);
OSAEMethodManager.MethodQueueDelete(method.Id);
plugin.ExecuteCommand(method);
processed = true;
break;
}
Expand All @@ -172,9 +172,9 @@ private void QueryCommandQueue()
+ method.Address + " | " + method.Id);

logging.AddToLog("Removing method from queue with ID: " + method.Id, false);
OSAEMethodManager.MethodQueueDelete(method.Id);
processed = true;
}

OSAEMethodManager.MethodQueueDelete(method.Id);
}
}
}
Expand Down

0 comments on commit d43a8c1

Please sign in to comment.