]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/core/m_part.c
Removal of ancient SVN ID's part one
[irc/rqf/shadowircd.git] / modules / core / m_part.c
index 3159a3f7c0ded6c9ab7d80d1f78afe5d6d7c6d2c..c69f314e5ff531da3a87871cba8493f1f681a90d 100644 (file)
@@ -21,7 +21,6 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
  *  USA
  *
- *  $Id: m_part.c 98 2005-09-11 03:37:47Z nenolod $
  */
 
 #include "stdinc.h"
@@ -124,7 +123,7 @@ part_one_client(struct Client *client_p, struct Client *source_p, char *name, ch
         *  only allow /part reasons in -m chans
         */
        if(reason[0] && (is_any_op(msptr) || !MyConnect(source_p) ||
-                        ((can_send(chptr, source_p, msptr) > 0 &&
+                        ((can_send(chptr, source_p, msptr) > 0 && ConfigFileEntry.use_part_messages &&
                           (source_p->localClient->firsttime +
                            ConfigFileEntry.anti_spam_exit_message_time) < rb_current_time()))))
        {