-/* event_neonserv_mode.c - NeonServ v5.4
+/* event_neonserv_mode.c - NeonServ v5.5
* Copyright (C) 2011-2012 Philipp Kreil (pk910)
*
* This program is free software: you can redistribute it and/or modify
//someone deopped the bot???
if(!neonserv_cmd_mode_botwar_detect(client, user, chan, &botwar_detect_executed))
requestOp(client->user, chan);
+ } else if(modes[i] == 'o' && add && isBot(cuser)) {
+ //someone opped a bot
+ if(!neonserv_cmd_mode_botwar_detect(client, user, chan, &botwar_detect_executed))
+ module_neonbackup_recover_chan(chan);
}
if((modes[i] == 'o' || (modes[i] == 'h' && !with_halfops)) && !(add && isBot(cuser))) {
if(uaccess < db_canop) {