summaryrefslogtreecommitdiff
path: root/chat/eggdrop/patches/patch-ai
diff options
context:
space:
mode:
Diffstat (limited to 'chat/eggdrop/patches/patch-ai')
-rw-r--r--chat/eggdrop/patches/patch-ai22
1 files changed, 11 insertions, 11 deletions
diff --git a/chat/eggdrop/patches/patch-ai b/chat/eggdrop/patches/patch-ai
index 38d2e5536cb..0b83eed669c 100644
--- a/chat/eggdrop/patches/patch-ai
+++ b/chat/eggdrop/patches/patch-ai
@@ -1,25 +1,25 @@
-$NetBSD: patch-ai,v 1.1.1.1 2002/06/26 03:48:14 kent Exp $
+$NetBSD: patch-ai,v 1.2 2003/05/24 16:43:06 salo Exp $
---- src/mod/share.mod/share.c.orig Tue Jul 17 23:53:42 2001
-+++ src/mod/share.mod/share.c Fri Nov 2 18:37:15 2001
-@@ -1121,7 +1123,8 @@
+--- src/mod/share.mod/share.c.orig 2003-05-04 22:15:53.000000000 +0200
++++ src/mod/share.mod/share.c 2003-05-24 17:05:28.000000000 +0200
+@@ -1113,7 +1113,8 @@
int i, sock;
FILE *f;
- egg_snprintf(s, sizeof s, ".share.%s.%lu.users", botnetnick, now);
-+ egg_snprintf(s, sizeof s, "%.100s/.share.%.32s.%lu.users",
-+ tempdir, botnetnick, now);
++ egg_snprintf(s, sizeof s, "%.100s/.share.%.32s.%lu.users",
++ tempdir, botnetnick, now);
if (!(b_status(idx) & STAT_SHARE)) {
dprintf(idx, "s e You didn't ask; you just started sending.\n");
dprintf(idx, "s e Ask before sending the userfile.\n");
-@@ -1890,8 +1893,8 @@
+@@ -1883,8 +1884,8 @@
struct chanuserrec *ch;
struct chanset_t *cst;
- egg_snprintf(share_file, sizeof share_file, ".share.%s.%lu", dcc[idx].nick,
-- now);
-+ egg_snprintf(share_file, sizeof share_file, "%.100s/.share.%.32s.%lu",
-+ tempdir, dcc[idx].nick, now);
+- now);
++ egg_snprintf(share_file, sizeof share_file, "%.100s/.share.%.32s.%lu",
++ tempdir, dcc[idx].nick, now);
if (dcc[idx].u.bot->uff_flags & UFF_OVERRIDE) {
debug1("NOTE: Sharing aggressively with %s, overriding its local bots.",
- dcc[idx].nick);
+ dcc[idx].nick);