small correction from 241314
authorJeff Peeler <jpeeler@digium.com>
Tue, 19 Jan 2010 18:51:19 +0000 (18:51 +0000)
committerJeff Peeler <jpeeler@digium.com>
Tue, 19 Jan 2010 18:51:19 +0000 (18:51 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@241315 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_agent.c

index b2624f0..d054bbe 100644 (file)
@@ -578,8 +578,6 @@ static struct ast_frame *agent_read(struct ast_channel *ast)
                                                ast_softhangup(p->chan, AST_SOFTHANGUP_EXPLICIT);
                                                ast_channel_unlock(p->chan);
                                        }
-                               } else {
-                                       p->deferlogoff = 1;
                                }
                        }
                }