/[svn]/ircd-hybrid-7.2/modules/m_whowas.c
ViewVC logotype

Diff of /ircd-hybrid-7.2/modules/m_whowas.c

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

revision 142 by lusky, Sun Oct 2 21:05:51 2005 UTC revision 143 by michael, Sun Oct 16 09:49:16 2005 UTC
# Line 47  static void whowas_do(struct Client *, s Line 47  static void whowas_do(struct Client *, s
47    
48  struct Message whowas_msgtab = {  struct Message whowas_msgtab = {
49    "WHOWAS", 0, 0, 0, 0, MFLG_SLOW, 0,    "WHOWAS", 0, 0, 0, 0, MFLG_SLOW, 0,
50    { m_unregistered, m_whowas, m_error, m_ignore, mo_whowas, m_ignore }    { m_unregistered, m_whowas, mo_whowas, m_ignore, mo_whowas, m_ignore }
51  };  };
52    
53  #ifndef STATIC_MODULES  #ifndef STATIC_MODULES
# Line 117  whowas_do(struct Client *client_p, struc Line 117  whowas_do(struct Client *client_p, struc
117    struct Whowas *temp = NULL;    struct Whowas *temp = NULL;
118    int cur = 0;    int cur = 0;
119    int max = -1;    int max = -1;
120    char *p, *nick;    char *p = NULL, *nick = NULL;
121    
122    if (parc > 2)    if (parc > 2)
123      max = atoi(parv[2]);      max = atoi(parv[2]);
124    
125    if (parc > 3)    if (parc > 3)
126      if (hunt_server(client_p, source_p, ":%s WHOWAS %s %s :%s", 3, parc, parv))      if (hunt_server(client_p, source_p, ":%s WHOWAS %s %s :%s", 3,
127                        parc, parv) != HUNTED_ISME)
128        return;        return;
129    
130    nick = parv[1];    nick = parv[1];

Legend:
Removed from v.142  
changed lines
  Added in v.143

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