/[svn]/ircd-hybrid-8/modules/core/m_message.c
ViewVC logotype

Diff of /ircd-hybrid-8/modules/core/m_message.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1174 by michael, Sun Aug 14 00:25:05 2011 UTC revision 1175 by michael, Sun Aug 14 10:47:48 2011 UTC
# Line 569  msg_client(int p_or_n, const char *comma Line 569  msg_client(int p_or_n, const char *comma
569      if ((p_or_n != NOTICE) && target_p->away)      if ((p_or_n != NOTICE) && target_p->away)
570        sendto_one(source_p, form_str(RPL_AWAY), me.name,        sendto_one(source_p, form_str(RPL_AWAY), me.name,
571                   source_p->name, target_p->name, target_p->away);                   source_p->name, target_p->name, target_p->away);
572      if (HasUMode(target_p, UMODE_REGONLY) && !HasUMode(source_p, UMODE_REGISTERED|UMODE_OPER))  
573        if (HasUMode(target_p, UMODE_REGONLY) && target_p != source_p)
574      {      {
575        if (p_or_n != NOTICE)        if (!HasUMode(source_p, UMODE_REGISTERED|UMODE_OPER))
576          sendto_one(source_p, form_str(ERR_NONONREG), me.name, source_p->name,        {
577                     target_p->name);          if (p_or_n != NOTICE)
578        return;            sendto_one(source_p, form_str(ERR_NONONREG), me.name, source_p->name,
579                         target_p->name);
580            return;
581          }
582      }      }
583    }    }
584    

Legend:
Removed from v.1174  
changed lines
  Added in v.1175

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28