diff --git a/lib/Predis.php b/lib/Predis.php index fcc56bd3..267f50a4 100644 --- a/lib/Predis.php +++ b/lib/Predis.php @@ -105,7 +105,7 @@ class Client { } public function __call($method, $arguments) { - $command = $this->createCommand($method, $arguments); + $command = $this->_serverProfile->createCommand($method, $arguments); return $this->executeCommand($command); }