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

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

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

revision 1000 by lusky, Sun Oct 2 21:05:51 2005 UTC revision 1001 by michael, Sat Aug 29 22:44:44 2009 UTC
# Line 80  mo_rehash(struct Client *client_p, struc Line 80  mo_rehash(struct Client *client_p, struc
80    
81    if (parc > 1)    if (parc > 1)
82    {    {
 #ifndef _WIN32  
83      if (irccmp(parv[1], "DNS") == 0)      if (irccmp(parv[1], "DNS") == 0)
84      {      {
85        sendto_one(source_p, form_str(RPL_REHASHING), me.name, parv[0], "DNS");        sendto_one(source_p, form_str(RPL_REHASHING), me.name, parv[0], "DNS");
# Line 99  mo_rehash(struct Client *client_p, struc Line 98  mo_rehash(struct Client *client_p, struc
98        recalc_fdlimit(NULL);        recalc_fdlimit(NULL);
99        found = 1;        found = 1;
100      }      }
101      else      else if (irccmp(parv[1], "MOTD") == 0)
 #endif  
     if (irccmp(parv[1], "MOTD") == 0)  
102      {      {
103        sendto_realops_flags(UMODE_ALL, L_ALL,        sendto_realops_flags(UMODE_ALL, L_ALL,
104                             "%s is forcing re-reading of MOTD file",                             "%s is forcing re-reading of MOTD file",
# Line 126  mo_rehash(struct Client *client_p, struc Line 123  mo_rehash(struct Client *client_p, struc
123      }      }
124      else      else
125      {      {
 #ifdef _WIN32  
       sendto_one(source_p, ":%s NOTICE %s :rehash one of :MOTD OMOTD",  
                  me.name, source_p->name);  
 #else  
126        sendto_one(source_p, ":%s NOTICE %s :rehash one of :DNS FDLIMIT "        sendto_one(source_p, ":%s NOTICE %s :rehash one of :DNS FDLIMIT "
127                   "MOTD OMOTD", me.name, source_p->name);                   "MOTD OMOTD", me.name, source_p->name);
 #endif  
128        return;        return;
129      }      }
130    }    }
# Line 148  mo_rehash(struct Client *client_p, struc Line 140  mo_rehash(struct Client *client_p, struc
140      rehash(0);      rehash(0);
141    }    }
142  }  }
   

Legend:
Removed from v.1000  
changed lines
  Added in v.1001

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