summaryrefslogtreecommitdiff
path: root/chat/ircu/patches/patch-ai
diff options
context:
space:
mode:
Diffstat (limited to 'chat/ircu/patches/patch-ai')
-rw-r--r--chat/ircu/patches/patch-ai13
1 files changed, 13 insertions, 0 deletions
diff --git a/chat/ircu/patches/patch-ai b/chat/ircu/patches/patch-ai
new file mode 100644
index 00000000000..158a2ed4a36
--- /dev/null
+++ b/chat/ircu/patches/patch-ai
@@ -0,0 +1,13 @@
+$NetBSD: patch-ai,v 1.3 2008/03/24 18:40:19 adrianp Exp $
+
+--- ircd/s_user.c.orig 2007-08-21 02:13:15.000000000 +0100
++++ ircd/s_user.c
+@@ -1078,7 +1078,7 @@ int set_user_mode(struct Client *cptr, s
+ do_host_hiding = 1;
+ break;
+ case 'r':
+- if (what == MODE_ADD) {
++ if (*(p + 1) && (what == MODE_ADD)) {
+ account = *(++p);
+ SetAccount(sptr);
+ }