summaryrefslogtreecommitdiff
path: root/CSharp/Ivy
diff options
context:
space:
mode:
Diffstat (limited to 'CSharp/Ivy')
-rw-r--r--CSharp/Ivy/Ivy/IvyClient.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/CSharp/Ivy/Ivy/IvyClient.cs b/CSharp/Ivy/Ivy/IvyClient.cs
index 3110a3e..d3dbca2 100644
--- a/CSharp/Ivy/Ivy/IvyClient.cs
+++ b/CSharp/Ivy/Ivy/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++;