diff --git a/js/glowingbear.js b/js/glowingbear.js index 4f6e2de..a79a3a5 100644 --- a/js/glowingbear.js +++ b/js/glowingbear.js @@ -912,7 +912,7 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout', $scope.init = function() { if (window.location.hash) { - var rawStr = atob(window.location.hash.substring(3)); + var rawStr = atob(window.location.hash.substring(1)); window.location.hash = ""; var spl = rawStr.split(":"); var host = spl[0];