diff options
-rw-r--r-- | lib/rbot/core/config.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/core/config.rb b/lib/rbot/core/config.rb index 1459d557..d887855d 100644 --- a/lib/rbot/core/config.rb +++ b/lib/rbot/core/config.rb @@ -77,7 +77,7 @@ class ConfigModule < CoreBotModule if cfs.empty? m.reply _("no config key found matching %{r}") % { :r => params[:rx].to_s} else - m.reply _("possible keys: %{kl}") % { :kl => cfs.map { |c| c.first}.join(', ') } if cfs.length > 1 + m.reply _("possible keys: %{kl}") % { :kl => cfs.map { |c| c.first}.sort.join(', ') } if cfs.length > 1 m.reply cfs.map { |c| c.join(': ') }.join("\n") end end |