Anope IRC Services

Anope Development => Feature Requests => Topic started by: Trystan Scott Lee on August 17, 2006, 04:51:30 AM

Title: Module db backup
Post by: Trystan Scott Lee on August 17, 2006, 04:51:30 AM
Currently it is a pain for module coders to backup their db's they have to catch the event and then do alot of code to get there. I have come up with a patch to make it easier see..

http://www.nomadinc.net/tempdir/moduledb.diff

int db_backevent(int ac, char **av)
{
  if (!stricmp(av[0], EVENT_STOP)) {
      ModuleDatabaseBackup(moddbname);
  }
}
Title:
Post by: Tom65789 on August 17, 2006, 11:28:48 AM
thanks Trystan, i already found a use for it in a module im working on and it really does help.