Skip to content

Commit

Permalink
Remove duplicate require
Browse files Browse the repository at this point in the history
  • Loading branch information
tombell committed Jul 28, 2012
1 parent a5e09e1 commit a11da0f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions index.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ Response = require './src/respons
{TextMessage,EnterMessage,LeaveMessage,CatchAllMessage} = require './src/message'

module.exports.loadBot = (adapterPath, adapterName, enableHttpd, botName) ->
robot = require './src/robot'
new robot adapterPath, adapterName, enableHttpd, botName
new Robot adapterPath, adapterName, enableHttpd, botName

module.exports.User = User
module.exports.Brain = Brain
Expand Down

0 comments on commit a11da0f

Please sign in to comment.