set socket timeout time to 5 seconds

This commit is contained in:
Ryan Hitchman 2009-11-20 18:12:29 -07:00
parent e8686e0279
commit 5dd972a00e
1 changed files with 3 additions and 0 deletions

View File

@ -1,4 +1,7 @@
from util import hook from util import hook
import socket
socket.setdefaulttimeout(5) # global setting
#autorejoin channels #autorejoin channels