X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/c2f73e5dbc9a287c6c8fd0a94c86f4e8d9067898..b2c208be091670e3c5259eba77187bae6ac6eece:/modules/m_signon.c diff --git a/modules/m_signon.c b/modules/m_signon.c index f28021ff..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; @@ -213,6 +217,9 @@ me_svslogin(struct Client *client_p, struct Client *source_p, exist_p->flags |= FLAGS_KILLED; kill_client_serv_butone(NULL, exist_p, "%s (Nickname regained by services)", me.name); + sendto_realops_snomask(SNO_SKILL, L_ALL, + "Nick collision due to SVSLOGIN on %s", + nick); rb_snprintf(buf, sizeof(buf), "Killed (%s (Nickname regained by services))", me.name);