]> jfr.im git - irc/quakenet/qwebirc.git/commitdiff
Increase the session id length (thanks morphium).
authorChris Porter <redacted>
Tue, 4 Nov 2008 02:56:43 +0000 (02:56 +0000)
committerChris Porter <redacted>
Tue, 4 Nov 2008 02:56:43 +0000 (02:56 +0000)
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