I have this code for years, but never shared it. Giving back this to community.
Some obscure bugs fixed, code comments clarified, and error checks added.
You can try out the chatbox live on a Drupal 6 site here: http://permutations.com/drup/
Drupal 6 backport
Update make file to use Drupal 6.35. Drupal 6.35 release notes can be found at http://drupal.org/drupal-6.35-release-notes. Drupal 6.35 is released in response to the discovery of security vulnerabilities. Details can be found in the official security advisory: https://www.drupal.org/SA-CORE-2015-001
This is an incremental maintenance and security update to COD 6, (Drupal 6.35 Security Release) including updates to the following modules:
Drupal is a registered trademark of Dries Buytaert.