Permalink
Browse files

Sort modules during display.

  • Loading branch information...
1 parent 91ac034 commit 98d1ec59feb461c3d4b526d6f8c2ed89bce85e43 @fpoirotte fpoirotte committed May 28, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/Erebot/Module/Helper.php
@@ -176,6 +176,7 @@ public function getHelp(
// "!help Erebot_Module_Helper"
if ($nbArgs == 1 && $words[0] == $moduleName) {
$modules = array_keys($this->_connection->getModules($chan));
+ sort($modules);
$msg = $fmt->_(
'<b>Usage</b>: "!<var name="trigger"/> &lt;<u>Module</u>&gt; '.
'[<u>command</u>]". Module names must start with an '.

0 comments on commit 98d1ec5

Please sign in to comment.