Data: Remove unneeded constructor hack check (#3019)

This commit is contained in:
panpawn
2016-12-11 23:34:55 -05:00
committed by Guangcong Luo
parent 871cb25529
commit 7b4a482373

View File

@@ -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 = '';