ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid-8/contrib/m_change.c
(Generate patch)

Comparing ircd-hybrid-8/contrib/m_change.c (file contents):
Revision 1168 by michael, Tue Aug 9 20:29:20 2011 UTC vs.
Revision 1169 by michael, Fri Aug 12 18:45:03 2011 UTC

# Line 102 | Line 102 | mo_chgident(struct Client *client_p, str
102        return;
103    }
104    else {
105 <    target_p = find_client(parv[1]);
105 >    target_p = hash_find_client(parv[1]);
106  
107      if (target_p == NULL || !IsClient(target_p))
108      {
# Line 163 | Line 163 | mo_chghost(struct Client *client_p, stru
163        return;
164    }
165    else {
166 <    target_p = find_client(parv[1]);
166 >    target_p = hash_find_client(parv[1]);
167  
168      if (target_p == NULL || !IsClient(target_p))
169      {
# Line 221 | Line 221 | mo_chgname(struct Client *client_p, stru
221      parv[2] = parv[1];
222      target_p = source_p;
223    }
224 <  else if ((target_p = find_client(parv[1])) == NULL)
224 >  else if ((target_p = hash_find_client(parv[1])) == NULL)
225    {
226      sendto_one(source_p, form_str(ERR_NOSUCHNICK),
227                 me.name, source_p->name, parv[1]);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines