aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/db.c b/db.c
index e434a3960..1c88c49bd 100755
--- a/db.c
+++ b/db.c
@@ -526,8 +526,7 @@ static int manager_dbget(struct mansession *s, struct message *m)
astman_send_error(s, m, "Database entry not found");
else {
astman_send_ack(s, m, "Result will follow");
- manager_event(EVENT_FLAG_COMMAND,
- "DBGetResponse",
+ ast_cli(s->fd, "Event: DBGetResponse\r\n"
"Family: %s\r\n"
"Key: %s\r\n"
"Val: %s\r\n",