keep in sync with OGN upstream (SVN-326)
authorpk910 <philipp@zoelle1.de>
Mon, 12 Nov 2012 00:24:48 +0000 (01:24 +0100)
committerpk910 <philipp@zoelle1.de>
Mon, 12 Nov 2012 00:24:48 +0000 (01:24 +0100)
ircd/s_user.c

index 9f45018041e994d00f334dcf0687ff8283baa4d5..fc502ae568d77cc656ffc547d8f8a65116c8397a 100644 (file)
@@ -1421,7 +1421,7 @@ int set_user_mode(struct Client *cptr, struct Client *sptr, int parc,
 
   if (IsRegistered(sptr)) {
     if(do_host_hiding)
 
   if (IsRegistered(sptr)) {
     if(do_host_hiding)
-      hide_hostmask(sptr, 0);
+      hide_hostmask(sptr, HIDE_HOSTMASK_FLAG_HIDDENHOST);
 
     if (!FlagHas(&setflags, FLAG_OPER) && IsOper(sptr)) {
       /* user now oper */
 
     if (!FlagHas(&setflags, FLAG_OPER) && IsOper(sptr)) {
       /* user now oper */