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?
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.
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.