]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/commands/console/class_HubConsoleChatCommand.php
Refacturing to pass a ProtocolHandler instance instead of the direct name. This
[hub.git] / application / hub / main / commands / console / class_HubConsoleChatCommand.php
index 5f5acd5b933ab9e6718cf7f1ce80fa77821e3c52..84776e33286a59cbe1b71a99b7503cf6f26f933c 100644 (file)
@@ -2,11 +2,11 @@
 /**
  * A command for the 'chat client' routine
  *
- * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
  * @copyright  Copyright (c) 2012 Chat Developer Team
  * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.ship-simu.org
+ * @link               http://www.shipsimu.org
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -78,7 +78,7 @@ class HubConsoleChatCommand extends BaseCommand implements Commandable {
                $chatInstance->addExtraChatFilters();
 
                // Get task handler instance
-               $handlerInstance = Registry::getRegistry()->getInstance('task');
+               $handlerInstance = Registry::getRegistry()->getInstance('task_handler');
 
                // Debug message
                self::createDebugInstance(__CLASS__)->debugOutput('MAIN: --- Entering main loop. ---');