Browse Source

os._exit takes one argument

master
jcao219 13 years ago
parent
commit
d53e9e482d
  1. 2
      oyoyo/client.py

2
oyoyo/client.py

@ -229,7 +229,7 @@ class IRCClient(object): @@ -229,7 +229,7 @@ class IRCClient(object):
logging.info('closing socket')
self.socket.close()
import os
os._exit()
os._exit(0)
def msg(self, user, msg):
for line in msg.split('\n'):
maxchars = 494 - len(self.nickname+self.ident+self.hostmask+user)

Loading…
Cancel
Save