/[svn]/ircd-hybrid-7.3/modules/m_links.c
ViewVC logotype

Diff of /ircd-hybrid-7.3/modules/m_links.c

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

revision 1044 by michael, Sun Nov 8 13:10:50 2009 UTC revision 1045 by michael, Tue Jan 26 12:58:42 2010 UTC
# Line 83  do_links(struct Client *source_p, int pa Line 83  do_links(struct Client *source_p, int pa
83  {  {
84    if (IsOper(source_p) || !ConfigServerHide.flatten_links)    if (IsOper(source_p) || !ConfigServerHide.flatten_links)
85    {    {
86      char *mask = (parc > 2 ? parv[2] : parv[1]);      const char *mask = (parc > 2 ? parv[2] : parv[1]);
87      const char *me_name, *nick, *p;      const char *me_name, *nick, *p;
88      struct Client *target_p;      struct Client *target_p;
     char clean_mask[2 * HOSTLEN + 4];  
89      dlink_node *ptr;      dlink_node *ptr;
90    
     if (!EmptyString(mask))    /* only necessary if there is a mask */  
       mask = collapse(clean_string(clean_mask, (const unsigned char*) mask, 2 * HOSTLEN));  
   
91      me_name = ID_or_name(&me, source_p->from);      me_name = ID_or_name(&me, source_p->from);
92      nick = ID_or_name(source_p, source_p->from);      nick = ID_or_name(source_p, source_p->from);
93    

Legend:
Removed from v.1044  
changed lines
  Added in v.1045

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