From cbcead4e89b3dc0dfb236fff9cb3e62b1b0707c0 Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 25 Jun 2010 19:07:50 -0500 Subject: Made db-convert handle old corrupted databases from 1.8 that used mysql with rdb --- src/tools/db-convert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tools') diff --git a/src/tools/db-convert.c b/src/tools/db-convert.c index 20f8718d1..34bb01d8c 100644 --- a/src/tools/db-convert.c +++ b/src/tools/db-convert.c @@ -391,7 +391,7 @@ int main(int argc, char *argv[]) if (nc->accesscount) { - for (j = 0, access = nc->access; j < nc->accesscount; j++, access++) + for (j = 0, access = nc->access; j < nc->accesscount && *access; j++, access++) fs << "MD ACCESS " << *access << std::endl; } -- cgit From d5ee411aca2df5e7a16020d0281eb2deb392b79d Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 25 Jun 2010 22:13:32 -0400 Subject: Moved src/tools/README to docs/TOOLS --- src/tools/README | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 src/tools/README (limited to 'src/tools') diff --git a/src/tools/README b/src/tools/README deleted file mode 100644 index 0b2b2ec32..000000000 --- a/src/tools/README +++ /dev/null @@ -1,27 +0,0 @@ -Anope Bundled Tools -------------------- - -1) Anope SMTP Client - - Provided with Anope is a simple SMTP client which can be used instead of - programs like SendMail in some cases. - - The SMTP client can be used instead of sendmail for use with Anope's mail - options. To use the SMTP client instead of sendmail, find the line in your - services configuration file (services.conf) that defines SendMailPath. On - that line, change the path to your services installation directory, then - followed by "tools/anopesmtp" and the IP address of a valid SMTP server. It - should look like this: - - SendMailPath "/home/anope/services/tools/anopesmtp 127.0.0.1" - - If the SMTP client doesn't send mail, or if there's an other problem with - it, you can compile it in debug mode. To do this, open smtp.h, and look - for "smtp_debug" near the bottom. Change this from 0 to 1 and recompile - the code. This should generate a log file of what happened when it tried - to connect to the SMTP server. - - Credits: - Originally written by Dominick Meglio - Ported to *nix by Trystan Scott Lee - -- cgit