Author: Isomer <perry@coders.net>
[ircu2.10.12-pk.git] / ircd / m_rehash.c
index 24055ea879320540fc8ebd03ab6b069c25505b7c..de38a9cd1ab30ba67d08bc4573af2d593f54e9b8 100644 (file)
 
 /*
  * mo_rehash - oper message handler
+ * 
+ * parv[1] = 'q' to not rehash the resolver (optional)
  */
 int mo_rehash(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
 {
@@ -115,7 +117,6 @@ int mo_rehash(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
 #endif
   {
     send_reply(sptr, ERR_NOPRIVILEGES);
-    sendto_one(sptr, err_str(ERR_NOPRIVILEGES), me.name, parv[0]);
     return 0;
   }
   send_reply(sptr, RPL_REHASHING, configfile);