1
0
mirror of https://github.com/anope/anope.git synced 2026-07-07 20:03:14 +02:00

BUILD : 1.7.8 (616) BUGS : NOTES : Added EVENT_DB_BACKUP and changed EVENT_BOT_ASSIGN to pass channel name instead of bot nick as argument

git-svn-id: svn://svn.anope.org/anope/trunk@616 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@464 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
2005-03-11 17:09:30 +00:00
parent 9ef454c643
commit 5d30eeca09
6 changed files with 17 additions and 3 deletions
+1 -1
View File
@@ -1595,7 +1595,7 @@ static int do_assign(User * u)
bot_join(ci);
}
notice_lang(s_BotServ, u, BOT_ASSIGN_ASSIGNED, bi->nick, ci->name);
send_event(EVENT_BOT_ASSIGN, bi->nick);
send_event(EVENT_BOT_ASSIGN, ci->name);
}
return MOD_CONT;
}
+2
View File
@@ -674,6 +674,7 @@ void backup_databases(void)
char ext[9];
send_event(EVENT_DB_BACKUP, EVENT_START);
alog("Backing up databases");
remove_backups();
@@ -695,5 +696,6 @@ void backup_databases(void)
rename_database(OperDBName, ext);
rename_database(NewsDBName, ext);
rename_database(ExceptionDBName, ext);
send_event(EVENT_DB_BACKUP, EVENT_STOP);
}
}