From 4712ba5b9e72f2ed949176aa8da04a4b6f6a4197 Mon Sep 17 00:00:00 2001 From: paulc Date: Sun, 6 May 2007 11:55:29 +0000 Subject: [PATCH] Properly match the entire prefix (name/) before trying to match links. git-svn-id: http://yate.null.ro/svn/yate/trunk@1297 acf43c95-373e-0410-b603-e72c3f656dc1 --- modules/ysigchan.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ysigchan.cpp b/modules/ysigchan.cpp index 5f12c7f1..8a818588 100644 --- a/modules/ysigchan.cpp +++ b/modules/ysigchan.cpp @@ -971,7 +971,7 @@ bool SigDriver::received(Message& msg, int id) switch (id) { case Masquerade: { String s = msg.getValue("id"); - if (s.startsWith(name())) + if (s.startsWith(prefix())) break; // Check for a link that would handle the message int found = s.find('/');