Closed elazar closed 9 years ago
Do you know if irc has a max character limit for a message?
It does, but it's difficult to account for how much of that any given message is going to use because of prefixes and such. After further discussion, it may just be safer to have some reasonable upper bounds (e.g. 100
or 1000
), perhaps that can be overridden by configuration.
That was my thinking. I'll get this sorted this weekend, cheers for the heads up.
I've added a few limits that can be overridden via config. The numbers are low enough that by default it should be OK.
I just need to update a few tests and I'll get it tagged
Tag 1.0.2 released
Think you added Pong and AutoJoin for testing and forgot to take them out.
You're right - though that was on the AudioScrobbler plugin!
Appears it was on both. :p I need to come up with a better recommended setup for plugin developers.
Am I going crazy? I don't see it on this repo
Ah, OK, looks like you removed them in a subsequent commit.
Issuing this command against the Phergie v3 instance on Freenode...
... causes this error...
Here is the cited line.
Plugin->handleCommand()
should probably sanity check its roll count by comparing the return value ofmemory_get_usage()
against the return value ofini_get('memory_limit')
on each loop iteration to ensure that the current roll won't causememory_limit
to be exceeded.