Fix chan_zap reload with pseudo channels (bug 2664)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4028 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
James Golovich
2004-10-17 05:05:22 +00:00
parent dfdf53c00d
commit f3ad3d0359
+1 -1
View File
@@ -9628,7 +9628,7 @@ static int setup_zap(int reload)
ast_log(LOG_WARNING, "Ignoring %s\n", v->name);
v = v->next;
}
if (!found_pseudo) {
if (!found_pseudo && reload == 0) {
/* Make sure pseudo isn't a member of any groups if
we're automatically making it. */