Skip to content
Snippets Groups Projects
Commit 4f72086b authored by Tilghman Lesher's avatar Tilghman Lesher
Browse files

Merged revisions 7517 via svnmerge from

/branches/1.2


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7518 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 2a3dacfc
No related branches found
No related tags found
No related merge requests found
......@@ -482,7 +482,7 @@ static int chanspy_exec(struct ast_channel *chan, void *data)
}
}
if (igrp && (!spec || ((strlen(spec) < strlen(peer->name) &&
if (igrp && (!spec || ((strlen(spec) <= strlen(peer->name) &&
!strncasecmp(peer->name, spec, strlen(spec)))))) {
if (peer && (!bronly || ast_bridged_channel(peer)) &&
!ast_check_hangup(peer) && !ast_test_flag(peer, AST_FLAG_SPYING)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment