Recieve buffer
Status: Beta
Brought to you by:
irvazquez
The Recieve buffer does not get cleared on a PING
event, this prevents further decoding of future messages.
Here is my snippet with the correction:
if buffer[:4] == "PING":
self.debug("PING!")
self.servercmd("PONG :%s" % buffer[6:])
self.debug("PONG! id (%s)" % buffer[6:])
buffer = ''