pkgsrc/chat/ircu/patches/patch-ai

13 lines
363 B
Text

$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);
}