| View previous topic :: View next topic |
| Author |
Message |
rrc55 Voice
Joined: 11 Mar 2009 Posts: 29
|
Posted: Sat Mar 21, 2009 1:16 pm Post subject: |
|
|
So edit the source code and recompile? I'm scared.
I found this towards the end of the function:
| Code: | if (server_cycle_wait)
/* Back to 1st server & set wait time.
* Note: Put it here, just in case the server quits on us quickly
*/
cycle_time = server_cycle_wait;
else
cycle_time = 0;
|
Could I just replace the else statement or should I replace the entire if statement or should I add it somewhere else?
Thank you kind sir  |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Sat Mar 21, 2009 2:38 pm Post subject: |
|
|
Sorry, my bad, was supposed to write disconnect_server(). You'll find it in the same file though.. I'll update my previous post as well. And you could add the line pretty much anywhere within the function, I'd suggest in the end.
And yes, you edit the file, and recompile. _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
rrc55 Voice
Joined: 11 Mar 2009 Posts: 29
|
Posted: Wed Mar 25, 2009 12:56 am Post subject: |
|
|
Just one last problem. I just noticed that my bot automatically removes bans in the channel. I can't figure out what setting would stop this. I have enforcebans and most of my channel set settings turned off in my config. It has a mind of its own. Please help. Thanks. |
|
| Back to top |
|
 |
DaRkOoO Halfop
Joined: 27 Sep 2008 Posts: 67
|
Posted: Wed Mar 25, 2009 3:22 pm Post subject: |
|
|
| Maybe you've setuped global ban-time 120?Put it to 0,and change it from 120 to 0 for every channel =) |
|
| Back to top |
|
 |
rrc55 Voice
Joined: 11 Mar 2009 Posts: 29
|
Posted: Wed Mar 25, 2009 4:03 pm Post subject: |
|
|
Wow. I must have read over that setting like a 1000 times .
Thank you.  |
|
| Back to top |
|
 |
|