]> jfr.im git - irc/quakenet/qwebirc.git/blobdiff - qwebirc/ajaxengine.py
Increase the session id length (thanks morphium).
[irc/quakenet/qwebirc.git] / qwebirc / ajaxengine.py
index 78c1c4daf46fd9f681e4705baecaf84e0e9ceb75..36c14c1ea6e52de1414dc87612cb139afabd9846 100644 (file)
@@ -7,7 +7,7 @@ import simplejson, md5, sys, os, ircclient, time, config, weakref
 Sessions = {}
 
 def get_session_id():
-  return md5.md5(os.urandom(16)).hexdigest()[:10]
+  return md5.md5(os.urandom(16)).hexdigest()
 
 class BufferOverflowException(Exception):
   pass