diff options
Diffstat (limited to 'CSharp/Ivy/IvyPPC/Ivy.cs')
-rw-r--r-- | CSharp/Ivy/IvyPPC/Ivy.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CSharp/Ivy/IvyPPC/Ivy.cs b/CSharp/Ivy/IvyPPC/Ivy.cs index ba25733..cfec5cb 100644 --- a/CSharp/Ivy/IvyPPC/Ivy.cs +++ b/CSharp/Ivy/IvyPPC/Ivy.cs @@ -593,7 +593,7 @@ namespace IvyBus internal bool CheckRegexp(String exp)
{
bool regexp_ok = true;
- if (exp.StartsWith("^") && sent_messageClasses != null)
+ if ((sent_messageClasses != null) && exp.StartsWith("^") )
{
regexp_ok = false;
foreach (string exp_class in sent_messageClasses)
|