diff options
author | fcolin | 2007-02-01 09:42:33 +0000 |
---|---|---|
committer | fcolin | 2007-02-01 09:42:33 +0000 |
commit | 4eb521c5dfe81165321c35550fabe1a19b0fad35 (patch) | |
tree | 142ac662039605327b8137664431ca017be76ad4 /CSharp/Ivy | |
parent | ffda59ecb61770e3113507a1e62feecbe43b49c7 (diff) | |
download | ivy-csharp-4eb521c5dfe81165321c35550fabe1a19b0fad35.zip ivy-csharp-4eb521c5dfe81165321c35550fabe1a19b0fad35.tar.gz ivy-csharp-4eb521c5dfe81165321c35550fabe1a19b0fad35.tar.bz2 ivy-csharp-4eb521c5dfe81165321c35550fabe1a19b0fad35.tar.xz |
Utilisateur : Fcolin Date : 16/01/04 Heure : 18:28 Archivé dans $/EScribe/Ivy Commentaire: (vss 18)
Diffstat (limited to 'CSharp/Ivy')
-rw-r--r-- | CSharp/Ivy/Ivy/Ivy.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CSharp/Ivy/Ivy/Ivy.cs b/CSharp/Ivy/Ivy/Ivy.cs index 7111157..069fd9e 100644 --- a/CSharp/Ivy/Ivy/Ivy.cs +++ b/CSharp/Ivy/Ivy/Ivy.cs @@ -594,9 +594,9 @@ namespace IvyBus if (exp.StartsWith("^") && sent_messageClasses != null)
{
regexp_ok = false;
- for (int i = 0; i < sent_messageClasses.Length; i++)
+ foreach (string exp_class in sent_messageClasses)
{
- if (sent_messageClasses[i].Equals(exp.Substring(1)))
+ if ( exp.Substring(1).StartsWith(exp_class) )
return true;
}
}
|