* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA
*
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA
*
static int m_part(struct Client *, struct Client *, int, const char **);
static int m_part(struct Client *, struct Client *, int, const char **);
static void part_one_client(struct Client *client_p,
struct Client *source_p, char *name, char *reason);
static void part_one_client(struct Client *client_p,
struct Client *source_p, char *name, char *reason);
- if(reason[0] && (is_chanop(msptr) || !MyConnect(source_p) ||
- ((can_send(chptr, source_p, msptr) > 0 &&
+ if(reason[0] && (is_any_op(msptr) || !MyConnect(source_p) ||
+ ((can_send(chptr, source_p, msptr) > 0 && ConfigFileEntry.use_part_messages &&
(source_p->localClient->firsttime +
ConfigFileEntry.anti_spam_exit_message_time) < rb_current_time()))))
{
(source_p->localClient->firsttime +
ConfigFileEntry.anti_spam_exit_message_time) < rb_current_time()))))
{