]> jfr.im git - solanum.git/blobdiff - modules/m_signon.c
Change default --with-nicklen to 31, like atheme-services.
[solanum.git] / modules / m_signon.c
index d57d953a9ef0e3800aefa10ec5d9b7030db3653e..6741cf9e078526f3d7b7a9a34dad8c2cb8460a70 100644 (file)
@@ -213,8 +213,11 @@ 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);
 
-               snprintf(buf, sizeof(buf), "Killed (%s (Nickname regained by services))",
+               rb_snprintf(buf, sizeof(buf), "Killed (%s (Nickname regained by services))",
                        me.name);
                exit_client(NULL, exist_p, &me, buf);
        }else if((exist_p = find_client(nick)) && IsUnknown(exist_p) && exist_p != target_p) {