zigdon / xkcd-Bucket

Bucket is the channel bot for #xkcd
http://wiki.xkcd.com/irc/Bucket
121 stars 31 forks source link

Different approach to the can't-use-string-as-array-ref bug #138

Closed dgw closed 7 months ago

dgw commented 11 months ago

Quick test shows that this doesn't cause a crash under the same conditions, but I'm also not positive that the problem was consistently triggered so this is 50% a stab in the dark.

I'll run this patch in my Bucket bot for a while and see if it continues randomly quitting when people quit/get kicked.

dgw commented 7 months ago

Another one that's been in testing for months without issues, though not as long as #135.