Skip to content
This repository has been archived by the owner on May 4, 2021. It is now read-only.

Long Text crash #6

Open
saki-mitama opened this issue May 7, 2014 · 0 comments
Open

Long Text crash #6

saki-mitama opened this issue May 7, 2014 · 0 comments

Comments

@saki-mitama
Copy link

If a text is too long, relay.rb breaks an quit. I don't know exactly how to fix it. A workaround is the following code:

        @consumer = Thread.new do
          loop do
            sleep(@flood_limit)
            msgtext = @mesg_queue.pop
            msg(@irc_channel,msgtext) if msgtext.length < 300
          end
        end

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant