aboutsummaryrefslogtreecommitdiff
path: root/irc/bitchx/files/patch-names.c
diff options
context:
space:
mode:
Diffstat (limited to 'irc/bitchx/files/patch-names.c')
-rw-r--r--irc/bitchx/files/patch-names.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/irc/bitchx/files/patch-names.c b/irc/bitchx/files/patch-names.c
new file mode 100644
index 000000000000..00171c2cde8b
--- /dev/null
+++ b/irc/bitchx/files/patch-names.c
@@ -0,0 +1,18 @@
+Index: source/names.c
+===================================================================
+RCS file: /cvs/bitchx/BitchX/source/names.c,v
+retrieving revision 1.8
+diff -u -3 -p -r1.8 names.c
+--- source/names.c 25 Mar 2003 04:32:14 -0000 1.8
++++ source/names.c 8 May 2003 20:26:11 -0000
+@@ -1004,8 +1004,9 @@ static int decifer_mode(char *from, char
+ malloc_strcpy(key, next_arg(rest, &rest));
+ else
+ {
+- if (rest && *key && !my_strnicmp(rest, *key, strlen(*key)))
++ if (rest && *key && (!my_strnicmp(rest, *key, strlen(*key)) || rest[0] == '*'))
+ next_arg(rest, &rest);
++
+ new_free(key);
+ }
+ (*channel)->i_mode = -1;