summaryrefslogtreecommitdiff
path: root/CSharp
diff options
context:
space:
mode:
Diffstat (limited to 'CSharp')
-rw-r--r--CSharp/Ivy/IvyPPC/IvyClient.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/CSharp/Ivy/IvyPPC/IvyClient.cs b/CSharp/Ivy/IvyPPC/IvyClient.cs
index 3110a3e..d3dbca2 100644
--- a/CSharp/Ivy/IvyPPC/IvyClient.cs
+++ b/CSharp/Ivy/IvyPPC/IvyClient.cs
@@ -252,7 +252,7 @@ namespace IvyBus
foreach (IvyBindingBase bind in bindings.Values )
{
string[] args = bind.Match(message);
- if (args!=null)
+ if ( stream != null && args!=null )
{
stream.TokenMsg(bind.key, args);
count++;