Skip to content

Commit

Permalink
fixed "typo"
Browse files Browse the repository at this point in the history
  • Loading branch information
taylor committed Nov 12, 2011
1 parent 27cf94a commit f6ad8ea
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions lib/ahn_ldap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@
require 'ahn_ldap/version'
require 'adhearsion/ldap'

class AhnLdap < Adhearsion::Plugin
init :ahn_ldap do
init :ldap do
#... if AHN_CONFIG.ldap_enabled?
end
class AhnLdapPlugin < Adhearsion::Plugin
init :ldap do
Ldap.start if AHN_CONFIG.ldap_enabled?
end
end

0 comments on commit f6ad8ea

Please sign in to comment.