]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix quotes
authorAnthony Minessale <anthony.minessale@gmail.com>
Sun, 23 Jul 2006 00:42:27 +0000 (00:42 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Sun, 23 Jul 2006 00:42:27 +0000 (00:42 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2051 d0543943-73ff-0310-b7d9-9358b9ac24b2

scripts/socket/fs.pl

index a095010abf51fdee2b0dee0251162986a405e679..e8d356c09d810c6d965b9e819c24e6bd3426eda0 100644 (file)
@@ -34,11 +34,7 @@ while ( defined ($_ = $term->readline($prompt)) ) {
   my $reply;
 
   if ($_) {
-    if ($_ =~ /^alog|^anolog/) {
-      $reply = $fs2->cmd($_);
-    } else {
-      $reply = $fs->cmd("api $_");
-    }
+    my $reply = $fs->cmd("api $_");
       
     if ($reply->{body}) {
       print $reply->{body};