diff options
| author | Naram Qashat <cyberbotx@cyberbotx.com> | 2010-06-26 01:39:11 -0400 |
|---|---|---|
| committer | Naram Qashat <cyberbotx@cyberbotx.com> | 2010-06-26 01:39:11 -0400 |
| commit | 4e31757f1467b36034e1dcef10d78533ff302d57 (patch) | |
| tree | 1cc9e0ec4f450c7fa33ced1b0e39a3355fedd636 /src/tools | |
| parent | 6dc3af5db41ecb24669b259c776c51964539d531 (diff) | |
| parent | c7cb8897b400f5df31d0ae12dcce892a2b0d1590 (diff) | |
Merge branch '1.9' of ssh://anope.git.sf.net/gitroot/anope/anope into 1.9
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/README | 27 | ||||
| -rw-r--r-- | src/tools/db-convert.c | 2 |
2 files changed, 1 insertions, 28 deletions
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 <codemastr@unrealircd.com> - Ported to *nix by Trystan Scott Lee <trystan@nomadirc.net> - 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; } |
