Menu

Preventing flooding?

Help
Anonymous
2001-11-24
2002-02-15
  • Anonymous

    Anonymous - 2001-11-24

    I noticed that when I rewrote the dictionary plugin to use Net::DICT instead of using a raw HTTP connection to m-w.com (which didn't work for me), it would be disconnected from the server if there was a particularly long definition.  This doesn't happen to any other plugins despite high numbers of lamers filling the channel spamming !weather toronto over and over again.

    Any ideas on how to prevent this?

     
    • Jeremy Muhlich

      Jeremy Muhlich - 2002-02-15

      Perlbot 2.0 will have output buffering!  Also, on a related note, it will have a configurable value for the max number of lines a plugin will be able to print into the public channel.  Anything higher than that number will be msg'd to the requesting user (with buffering as well).

       

Log in to post a comment.