Make doubly sure fixed calzoneman/sync#445

This commit is contained in:
Xaekai 2015-02-16 00:50:15 -08:00
parent a636082500
commit ca17c82c8c
1 changed files with 1 additions and 1 deletions

View File

@ -418,7 +418,7 @@ var Getters = {
dm: function (id, callback) { dm: function (id, callback) {
var m = id.match(/([\w-]+)/); var m = id.match(/([\w-]+)/);
if (m) { if (m) {
id = m[1]; id = m[1].split("_")[0];
} else { } else {
callback("Invalid ID", null); callback("Invalid ID", null);
return; return;