diff --git a/lib/robot.js b/lib/robot.js index d870872..ab7c825 100644 --- a/lib/robot.js +++ b/lib/robot.js @@ -120,7 +120,9 @@ Robot.prototype.connection = function(name, conn) { str += "Renaming '" + original + "' to '" + conn.name + "'"; this.log(str); } - + if ("adapter" in conn) { + conn.adaptor = conn.adapter; + } this.connections[conn.name] = initializer("adaptor", conn); return this;