if(bot) {
putsock(bot, "PART %s :Channel suspended.", channel);
}
+ if(client->botid == NEONSERV_BOTID) {
+ char setting[128];
+ sprintf(setting, "modules.%s.auto_backup_unregister", get_module_name(module_id));
+ if(get_int_field(setting))
+ module_global_cmd_unregister_neonbackup(channel);
+ }
printf_mysql_query("UPDATE `bot_channels` SET `suspended` = '1' WHERE `id` = '%s'", row[1]);
reply(getTextBot(), user, "NS_CSUSPEND_DONE", channel);
logEvent(event);