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

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

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

revision 268 by adx, Mon Nov 14 11:02:39 2005 UTC revision 269 by adx, Mon Nov 14 19:39:09 2005 UTC
# Line 45  Line 45 
45  #include "modules.h"  #include "modules.h"
46  #include "hook.h"  #include "hook.h"
47    
 static time_t last_used = 0;  
   
48  static void do_whois(struct Client *, int, char **);  static void do_whois(struct Client *, int, char **);
49  static int single_whois(struct Client *, struct Client *);  static int single_whois(struct Client *, struct Client *);
50  static void whois_person(struct Client *, struct Client *);  static void whois_person(struct Client *, struct Client *);
# Line 99  static void Line 97  static void
97  m_whois(struct Client *client_p, struct Client *source_p,  m_whois(struct Client *client_p, struct Client *source_p,
98          int parc, char *parv[])          int parc, char *parv[])
99  {  {
100      static time_t last_used = 0;
101    
102    if (parc < 2 || EmptyString(parv[1]))    if (parc < 2 || EmptyString(parv[1]))
103    {    {
104      sendto_one(source_p, form_str(ERR_NONICKNAMEGIVEN),      sendto_one(source_p, form_str(ERR_NONICKNAMEGIVEN),
# Line 182  mo_whois(struct Client *client_p, struct Line 182  mo_whois(struct Client *client_p, struct
182  static void  static void
183  do_whois(struct Client *source_p, int parc, char **parv)  do_whois(struct Client *source_p, int parc, char **parv)
184  {  {
185      static time_t last_used = 0;
186    struct Client *target_p;    struct Client *target_p;
187    char *nick;    char *nick;
188    char *p = NULL;    char *p = NULL;

Legend:
Removed from v.268  
changed lines
  Added in v.269

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