From 5f490f26fbeaa1e4574f117f045b6461d215dbde Mon Sep 17 00:00:00 2001 From: hydrabolt Date: Fri, 14 Aug 2015 13:28:33 +0100 Subject: [PATCH] major fix --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index a4cfc21a8..7387ae290 100644 --- a/index.js +++ b/index.js @@ -9,7 +9,7 @@ var Invite = require( "./lib/invite.js" ).Invite; var PMChannel = require( "./lib/PMChannel.js" ).PMChannel; var WebSocket = require( 'ws' ); -exports.prototype.isUserID = function(id){ +exports.isUserID = function(id){ return ((id + "").length === 17 && !isNaN(id)); }