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

Diff of /ircd-hybrid-8/modules/m_services.c

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

revision 1168 by michael, Thu Aug 11 22:07:40 2011 UTC revision 1169 by michael, Fri Aug 12 18:45:03 2011 UTC
# Line 159  m_nickserv(struct Client *client_p, stru Line 159  m_nickserv(struct Client *client_p, stru
159      return;      return;
160    }    }
161    
162    if ((target_p = find_server(ConfigFileEntry.service_name)))    if ((target_p = hash_find_server(ConfigFileEntry.service_name)))
163    {    {
164      sendto_one(target_p, ":%s PRIVMSG NickServ@%s :%s",      sendto_one(target_p, ":%s PRIVMSG NickServ@%s :%s",
165                 source_p->name, ConfigFileEntry.service_name, parv[1]);                 source_p->name, ConfigFileEntry.service_name, parv[1]);
# Line 186  m_chanserv(struct Client *client_p, stru Line 186  m_chanserv(struct Client *client_p, stru
186      return;      return;
187    }    }
188    
189    if ((target_p = find_server(ConfigFileEntry.service_name)))    if ((target_p = hash_find_server(ConfigFileEntry.service_name)))
190    {    {
191      sendto_one(target_p, ":%s PRIVMSG ChanServ@%s :%s",      sendto_one(target_p, ":%s PRIVMSG ChanServ@%s :%s",
192                 source_p->name, ConfigFileEntry.service_name, parv[1]);                 source_p->name, ConfigFileEntry.service_name, parv[1]);
# Line 213  m_memoserv(struct Client *client_p, stru Line 213  m_memoserv(struct Client *client_p, stru
213      return;      return;
214    }    }
215    
216    if ((target_p = find_server(ConfigFileEntry.service_name)))    if ((target_p = hash_find_server(ConfigFileEntry.service_name)))
217    {    {
218      sendto_one(target_p, ":%s PRIVMSG MemoServ@%s :%s",      sendto_one(target_p, ":%s PRIVMSG MemoServ@%s :%s",
219                 source_p->name, ConfigFileEntry.service_name, parv[1]);                 source_p->name, ConfigFileEntry.service_name, parv[1]);
# Line 240  m_operserv(struct Client *client_p, stru Line 240  m_operserv(struct Client *client_p, stru
240      return;      return;
241    }    }
242    
243    if ((target_p = find_server(ConfigFileEntry.service_name)))    if ((target_p = hash_find_server(ConfigFileEntry.service_name)))
244    {    {
245      sendto_one(target_p, ":%s PRIVMSG OperServ@%s :%s",      sendto_one(target_p, ":%s PRIVMSG OperServ@%s :%s",
246                 source_p->name, ConfigFileEntry.service_name, parv[1]);                 source_p->name, ConfigFileEntry.service_name, parv[1]);
# Line 267  m_botserv(struct Client *client_p, struc Line 267  m_botserv(struct Client *client_p, struc
267      return;      return;
268    }    }
269    
270    if ((target_p = find_server(ConfigFileEntry.service_name)))    if ((target_p = hash_find_server(ConfigFileEntry.service_name)))
271    {    {
272      sendto_one(target_p, ":%s PRIVMSG BotServ@%s :%s",      sendto_one(target_p, ":%s PRIVMSG BotServ@%s :%s",
273                 source_p->name, ConfigFileEntry.service_name, parv[1]);                 source_p->name, ConfigFileEntry.service_name, parv[1]);
# Line 293  m_identify(struct Client *client_p, stru Line 293  m_identify(struct Client *client_p, stru
293    
294    if (IsChanPrefix(*parv[1]))    if (IsChanPrefix(*parv[1]))
295    {    {
296      if ((target_p = find_server(ConfigFileEntry.service_name)))      if ((target_p = hash_find_server(ConfigFileEntry.service_name)))
297        sendto_one(target_p, ":%s PRIVMSG ChanServ@%s :IDENTIFY %s",        sendto_one(target_p, ":%s PRIVMSG ChanServ@%s :IDENTIFY %s",
298                   source_p->name, ConfigFileEntry.service_name, parv[1]);                   source_p->name, ConfigFileEntry.service_name, parv[1]);
299      else      else
# Line 302  m_identify(struct Client *client_p, stru Line 302  m_identify(struct Client *client_p, stru
302    }    }
303    else    else
304    {    {
305      if ((target_p = find_server(ConfigFileEntry.service_name)))      if ((target_p = hash_find_server(ConfigFileEntry.service_name)))
306        sendto_one(target_p, ":%s PRIVMSG NickServ@%s :IDENTIFY %s",        sendto_one(target_p, ":%s PRIVMSG NickServ@%s :IDENTIFY %s",
307                   source_p->name, ConfigFileEntry.service_name, parv[1]);                   source_p->name, ConfigFileEntry.service_name, parv[1]);
308      else      else

Legend:
Removed from v.1168  
changed lines
  Added in v.1169

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