From 40d6cf77ad43d2ea8458667bbff495190e891486 Mon Sep 17 00:00:00 2001 From: jeff Date: Sat, 19 Sep 2015 09:02:08 -0400 Subject: [PATCH] use correct parameter in admin command --- contrib/static/mod.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/static/mod.js b/contrib/static/mod.js index 79048a6..8388235 100644 --- a/contrib/static/mod.js +++ b/contrib/static/mod.js @@ -49,8 +49,8 @@ function nntpchan_admin(method, param) { return method; }, handle: function(j) { - if (j.msg) { - return document.createTextNode(j.msg); + if (j.result) { + return document.createTextNode(j.result); } else { return "nothing happened?"; }