diff options
author | tv <tv@pkgsrc.org> | 2004-11-19 13:03:30 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2004-11-19 13:03:30 +0000 |
commit | cc06b734cc58fb8e49b35d3e3ea772d1ae78f83c (patch) | |
tree | 1ca182811d481693704003a936d243c79275e9f4 /chat/icbirc/patches/patch-ad | |
parent | 5d9bab12e0060a4161c55d071e9987993b5b0188 (diff) | |
download | pkgsrc-cc06b734cc58fb8e49b35d3e3ea772d1ae78f83c.tar.gz |
Update to 1.8. Only one change: incorporate pkgsrc changes into main source.
Take over as MAINTAINER (requested by tron@).
Diffstat (limited to 'chat/icbirc/patches/patch-ad')
-rw-r--r-- | chat/icbirc/patches/patch-ad | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/chat/icbirc/patches/patch-ad b/chat/icbirc/patches/patch-ad deleted file mode 100644 index 42ccd3d961f..00000000000 --- a/chat/icbirc/patches/patch-ad +++ /dev/null @@ -1,29 +0,0 @@ -$NetBSD: patch-ad,v 1.2 2004/06/26 22:17:36 adrianp Exp $ - ---- irc.c.orig Sat May 29 14:41:29 2004 -+++ irc.c Sat May 29 14:54:37 2004 -@@ -52,6 +52,7 @@ - char irc_ident[256]; - char irc_nick[256]; - char irc_channel[256]; -+int in_irc_channel; - - /* - * irc_recv() receives read(2) chunks and assembles complete lines, which are -@@ -119,6 +120,8 @@ - cmd++; - scan(&cmd, group, sizeof(group), " ", " "); - icb_send_group(server_fd, group); -+ } else if (!strncasecmp(cmd, "PART ", 5)) { -+ in_irc_channel = 0; - } else if (!strncasecmp(cmd, "PRIVMSG ", 8) || - !strncasecmp(cmd, "NOTICE ", 7)) { - char dst[128]; -@@ -249,6 +252,7 @@ - - snprintf(cmd, sizeof(cmd), ":%s JOIN :%s\r\n", src, dst); - sync_write(fd, cmd, strlen(cmd)); -+ in_irc_channel = 1; - } - - void |