Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

Commit

Permalink
Use new current command to llist clients
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco van Wieringen committed Aug 8, 2016
1 parent eab9bb0 commit 820ee09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/Client/src/Client/Model/ClientModel.php
Expand Up @@ -30,7 +30,7 @@ class ClientModel
public function getClients(&$bsock=null)
{
if(isset($bsock)) {
$cmd = 'llist clients';
$cmd = 'llist clients current';
$result = $bsock->send_command($cmd, 2, null);
$clients = \Zend\Json\Json::decode($result, \Zend\Json\Json::TYPE_ARRAY);
return $clients['result']['clients'];
Expand Down

0 comments on commit 820ee09

Please sign in to comment.