*/
public function addListener (Listenable $listenerInstance) {
// Add this listener instance to the instance list
- parent::addInstance('listener', $listenerInstance);
+ parent::addInstance($listenerInstance->getProtocol(), 'listener', $listenerInstance);
// Debug message
$this->getDebugInstance()->output(