diff --git a/modules/m_services.c b/modules/m_services.c index 5295c762..1105a8b0 100644 --- a/modules/m_services.c +++ b/modules/m_services.c @@ -94,7 +94,11 @@ me_su(struct Client *client_p, struct Client *source_p, struct Client *target_p; if(!(source_p->flags & FLAGS_SERVICE)) + { + sendto_realops_snomask(SNO_GENERAL, L_ALL, + "Non-service server %s attempting to execute services-only command SU", source_p->name); return 0; + } if((target_p = find_client(parv[1])) == NULL) return 0; @@ -158,7 +162,11 @@ me_rsfnc(struct Client *client_p, struct Client *source_p, char note[NICKLEN + 10]; if(!(source_p->flags & FLAGS_SERVICE)) + { + sendto_realops_snomask(SNO_GENERAL, L_ALL, + "Non-service server %s attempting to execute services-only command RSFNC", source_p->name); return 0; + } if((target_p = find_person(parv[1])) == NULL) return 0; @@ -260,7 +268,11 @@ me_nickdelay(struct Client *client_p, struct Client *source_p, int parc, const c struct nd_entry *nd; if(!(source_p->flags & FLAGS_SERVICE)) + { + sendto_realops_snomask(SNO_GENERAL, L_ALL, + "Non-service server %s attempting to execute services-only command NICKDELAY", source_p->name); return 0; + } duration = atoi(parv[1]); if (duration <= 0) diff --git a/modules/m_signon.c b/modules/m_signon.c index 6741cf9e..79480d94 100644 --- a/modules/m_signon.c +++ b/modules/m_signon.c @@ -152,7 +152,11 @@ me_svslogin(struct Client *client_p, struct Client *source_p, int valid = 0; if(!(source_p->flags & FLAGS_SERVICE)) + { + sendto_realops_snomask(SNO_GENERAL, L_ALL, + "Non-service server %s attempting to execute services-only command SVSLOGIN", source_p->name); return 0; + } if((target_p = find_client(parv[1])) == NULL) return 0;