summaryrefslogtreecommitdiff
path: root/CSharp
diff options
context:
space:
mode:
Diffstat (limited to 'CSharp')
-rw-r--r--CSharp/Ivy/IvyProbe/IvyProbe.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/CSharp/Ivy/IvyProbe/IvyProbe.cs b/CSharp/Ivy/IvyProbe/IvyProbe.cs
index 03000db..ea19de4 100644
--- a/CSharp/Ivy/IvyProbe/IvyProbe.cs
+++ b/CSharp/Ivy/IvyProbe/IvyProbe.cs
@@ -50,7 +50,7 @@ namespace IvyProbe
// ajoute la nouvelle regex
string regexp = tbRegexp.Text;
regexp.Trim();
- int regexp_id = bus.bindMsg(regexp, new Ivy.MessageHandler(receive));
+ int regexp_id = bus.bindMsg(regexp, receive);
tbRegexp.Text = "";
append( "bind("+regexp_id+") ->"+regexp);
}
@@ -59,7 +59,7 @@ namespace IvyProbe
// ajoute la nouvelle regex
string expression = tbRegexp.Text;
expression.Trim();
- int regexp_id = bus.bindSimpleMsg(expression, new Ivy.MessageHandler(receive));
+ int regexp_id = bus.bindSimpleMsg(expression, receive);
tbRegexp.Text = "";
append( "bind("+regexp_id+") ->"+expression);
}