diff --git a/lib/xmpp/sasl.js b/lib/xmpp/sasl.js
index <HASH>..<HASH> 100644
--- a/lib/xmpp/sasl.js
+++ b/lib/xmpp/sasl.js
@@ -50,7 +50,7 @@ exports.availableMechanisms = availableMechanisms;
 function Mechanism() {
 }
 util.inherits(Mechanism, EventEmitter);
-Mechanism.authAttrs = function() {
+Mechanism.prototype.authAttrs = function() {
     return {};
 };
authAttrs should be a part of the Mechanism prototype