aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authorcitats <citats@f38db490-d61c-443f-a65b-d21fe96a405b>2004-10-17 05:05:22 +0000
committercitats <citats@f38db490-d61c-443f-a65b-d21fe96a405b>2004-10-17 05:05:22 +0000
commit48b8b03b38ed4bcf3d3cc78f1fe2e5f55fee93b5 (patch)
tree98884255c9bce0188063fd216b6a4f56809866ba /channels
parent2f8dd79924eaecfa995628f3c8cf1a856ccb7c3a (diff)
Fix chan_zap reload with pseudo channels (bug 2664)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4028 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rwxr-xr-xchannels/chan_zap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index 9a223d185..0855ab68e 100755
--- a/channels/chan_zap.c
+++ b/channels/chan_zap.c
@@ -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. */