X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/c98390004f4f14cd8215302d77313f81e2546e22..d23bc305d6cd1ce2b3faac52dc02993f33a3153f:/modules/core/m_server.c diff --git a/modules/core/m_server.c b/modules/core/m_server.c index 8ccfeb3..bd38f0f 100644 --- a/modules/core/m_server.c +++ b/modules/core/m_server.c @@ -134,7 +134,7 @@ mr_server(struct Client *client_p, struct Client *source_p, int parc, const char break; case -2: - sendto_realops_snomask(SNO_GENERAL, L_ALL, + sendto_realops_snomask(SNO_GENERAL, is_remote_connect(client_p) ? L_NETWIDE : L_ALL, "Unauthorised server connection attempt from %s: " "Bad password for server %s", get_server_name(client_p, HIDE_IP), name); @@ -203,7 +203,7 @@ mr_server(struct Client *client_p, struct Client *source_p, int parc, const char if(has_id(client_p) && (target_p = find_id(client_p->id)) != NULL) { - sendto_realops_snomask(SNO_GENERAL, L_ALL, + sendto_realops_snomask(SNO_GENERAL, is_remote_connect(client_p) ? L_NETWIDE : L_ALL, "Attempt to re-introduce SID %s from %s%s", client_p->id, EmptyString(client_p->name) ? name : "", @@ -484,7 +484,7 @@ ms_sid(struct Client *client_p, struct Client *source_p, int parc, const char *p ilog(L_SERVER, "Link %s cancelled, SID %s already exists", client_p->name, parv[3]); - exit_client(NULL, client_p, &me, "Server Exists"); + exit_client(NULL, client_p, &me, "SID Exists"); return 0; }