Re: [Phpsmartirc-users] PATCH: fix max 5 times reconnect
Brought to you by:
meebey
From: Ronald H. <mai...@hu...> - 2004-01-01 20:28:28
|
On Sun, 2003-12-21 at 02:57, Ronald Hummelink wrote: > Hello Mirco, > It claims i'm subscribed, but nevertheless i didn't get your mail until I checked the archives. I can switch to CVS-HEAD and implement what I changed from there, need to do some things in a cleaner way anyway :-) I will summarize what changes i have made so you can comment wether you see it fit as a functionality to put in CVS (it surely would be awfully nice if i can match what I want with things you like to put in cvs so i don't really run my own personal fork ;P): 1) I have a setAltnicks(array) which is walked in case of nick collision (nicer then botna421 imho) botna323 is stil used as fallback in case all altnicks are colissions. 2) optional setting to not only match the first handler (I need to match more then just the first (infobot + lastseen functionality) :)) 3) I propose to rename "log" to "debug". Then add seperate "log" settings which uses much the same code paths. From there I added logging to mysql. 4) I have a delay in reconnecting, adjustable. Can off course limit the numer of reconnect attempts (adjustable, has to be reset on succesful connect i think. (which is not done in the minor patch I send)) 5) maybe something I forgot :P but i will run into it soon enough if I switch to a clean CVS checkout :) Ugh do I still make sense :P? Ronald Hummelink -- Linux is like a small snowball rolling downhill. Microsoft is just waiting down the mountain... |