/[svn]/ircd-hybrid/trunk/modules/m_invite.c
ViewVC logotype

Diff of /ircd-hybrid/trunk/modules/m_invite.c

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

revision 3205 by michael, Mon Mar 24 20:41:24 2014 UTC revision 3206 by michael, Mon Mar 24 20:42:55 2014 UTC
# Line 139  ms_invite(struct Client *source_p, int p Line 139  ms_invite(struct Client *source_p, int p
139    if (EmptyString(parv[2]))    if (EmptyString(parv[2]))
140      return 0;      return 0;
141    
142    if ((target_p = find_person(source_p, parv[1])) == NULL)    if ((target_p = hash_find_id(parv[1])) == NULL || !IsClient(target_p))
143      return 0;      return 0;
144    
145    if ((chptr = hash_find_channel(parv[2])) == NULL)    if ((chptr = hash_find_channel(parv[2])) == NULL)

Legend:
Removed from v.3205  
changed lines
  Added in v.3206

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