I was unhappy because I had some message it my chatblock with 0 length, so I changed some line to exlude 0 length posts:

"chatblock.module" line 428

before:

    chatblock_database('update', $message);
    chatblock_messages();

after:

  if (strlen($message) > 0 ){
    chatblock_database('update', $message);
    chatblock_messages();
  }

It seems to work.

Comments

szimszon’s picture

Sorry,
message it = message in

dwees’s picture

This should be easy enough to configure as well, I'll add it when I get a chance. Basically it would be another setting in the settings form, check the setting and all 0 length messages are removed.

Dave

dwees’s picture

Assigned: Unassigned » dwees

Assigning this to myself.

Dave

dwees’s picture

Status: Active » Fixed

This is fixed in the newest version, code committed on 20/11/07, wait until the next day for the packaging script to update the tar ball for this module.

Dave

szimszon’s picture

I have upgraded it. We'll see... :)

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.