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

Comparing ircd-hybrid/trunk/src/s_serv.c (file contents):
Revision 3140 by michael, Wed Mar 12 19:23:20 2014 UTC vs.
Revision 3156 by michael, Fri Mar 14 19:57:38 2014 UTC

# Line 163 | Line 163 | read_links_file(void)
163   *      returns: (see #defines)
164   */
165   int
166 < hunt_server(struct Client *client_p, struct Client *source_p, const char *command,
166 > hunt_server(struct Client *source_p, const char *command,
167              const int server, const int parc, char *parv[])
168   {
169    struct Client *target_p = NULL;
# Line 185 | Line 185 | hunt_server(struct Client *client_p, str
185    if (MyClient(source_p))
186      target_p = hash_find_client(parv[server]);
187    else
188 <    target_p = find_person(client_p, parv[server]);
188 >    target_p = find_person(source_p, parv[server]);
189  
190    if (target_p)
191      if (target_p->from == source_p->from && !MyConnect(target_p))
# Line 222 | Line 222 | hunt_server(struct Client *client_p, str
222              continue;
223            target_p = ptr->data;
224  
225 <          if (IsRegistered(target_p) && (target_p != client_p))
225 >          if (IsRegistered(target_p) && (target_p != source_p->from))
226              break;
227          }
228        }

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)