summaryrefslogtreecommitdiff
path: root/chat/xchat/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'chat/xchat/patches/patch-ab')
-rw-r--r--chat/xchat/patches/patch-ab18
1 files changed, 18 insertions, 0 deletions
diff --git a/chat/xchat/patches/patch-ab b/chat/xchat/patches/patch-ab
new file mode 100644
index 00000000000..5e89a18b215
--- /dev/null
+++ b/chat/xchat/patches/patch-ab
@@ -0,0 +1,18 @@
+$NetBSD: patch-ab,v 1.8 2007/01/25 21:27:48 reed Exp $
+
+http://xchat.org/files/source/2.8/patches/xc280-fix-back.diff
+
+#
+# Fix: /BACK command not working after upgrading from xchat < 2.8.0
+#
+--- src/common/cfgfiles.c 2 Jan 2007 00:26:40 -0000 1.102
++++ src/common/cfgfiles.c 3 Jan 2007 14:01:00 -0000
+@@ -45,7 +45,7 @@
+ int cmd_len = 1, name_len;
+
+ /* remove <2.8.0 stuff */
+- if (!strcmp (cmd, "AWAY") & !strcmp (name, "BACK"))
++ if (!strcmp (cmd, "away") && !strcmp (name, "BACK"))
+ return;
+
+ if (cmd)