From 7b4a4823738dc339f12345cb28837c2d2a78bc5d Mon Sep 17 00:00:00 2001 From: panpawn Date: Sun, 11 Dec 2016 23:34:55 -0500 Subject: [PATCH] Data: Remove unneeded constructor hack check (#3019) --- chat-plugins/info.js | 1 - 1 file changed, 1 deletion(-) diff --git a/chat-plugins/info.js b/chat-plugins/info.js index 5c15d20090..19e394cef0 100644 --- a/chat-plugins/info.js +++ b/chat-plugins/info.js @@ -304,7 +304,6 @@ exports.commands = { dex: 'data', pokedex: 'data', data: function (target, room, user, connection, cmd) { - if (toId(target) === 'constructor') return this.errorReply("Invalid data lookup command."); if (!this.runBroadcast()) return; let buffer = '';