--- moop/lib/moopsock.py Sat Mar 27 21:26:42 2004 +++ moop-local/lib/moopsock.py Sun Sep 12 01:05:58 2004 @@ -118,7 +118,7 @@ while '\377' in data: x=string.find(data, '\377') if len(data) > x+2 and data[x+1] in '\373\374\375\376': - if data[x+1] in '\375\376': + if data[x+1] in '\375\376' and data[x+2] != '\001': # It's a DO or a DON'T # and we WON'T conn.write('\377\374'+data[x+2]) @@ -374,14 +374,10 @@ if msg == 'guest': self.HandleLoginLine('guest') # auto-password else: - self.send('Password: ') - ATT = chr(27) + '[' - self.send(ATT+'30m') - self.send(ATT+'40m') + self.send('Password: \377\373\001') return if self.password == '' and msg[0:1] != '<': - ATT = chr(27) + '[' - self.send(ATT+'0m') + self.send('\377\374\001') self.password = md5.new(msg).digest() # check to see if this matches some player mtch = filter(self.Matches, moop.gObjlist.values())