diff options
| -rw-r--r-- | js/user.js | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -13,10 +13,10 @@ var user = (function(){ user.load = function(){ user.username = user.getCookie() if (! user.username) { - user.username = '_' + randint(9876876) + user.username = '00' + randint(9876876) user.setCookie(user.username) } - if (!user.username.match(/^_/)) { + if (!user.username.match(/^00/)) { el.value = user.username } } @@ -54,7 +54,7 @@ var user = (function(){ }) } user.setCookie = function(username){ - if (!user.username.match(/^_/)) { + if (!user.username.match(/^00/)) { console.log("setting to " + username) } document.cookie = "imname="+username+";path=/;domain=.asdf.us;max-age=1086400" |
