diff --git a/www/js/callbacks.js b/www/js/callbacks.js index f3f7f4fa..25e0a804 100644 --- a/www/js/callbacks.js +++ b/www/js/callbacks.js @@ -179,7 +179,7 @@ Callbacks = { CHANNEL.motd = motd; $("#motd").html(motd); $("#cs-motdtext").val(motd); - if (data.motd != "") { + if (motd != "") { $("#motdwrap").show(); $("#motd").show(); $("#togglemotd").find(".glyphicon-plus")