]> jfr.im git - solanum.git/blobdiff - modules/m_svinfo.c
Move to ratbox3 reject and throttle code.
[solanum.git] / modules / m_svinfo.c
index 6f7f3267703aa11cb068d5ae64f755507dd40d72..740f8d7dfc8ca0cb6be603467fcd7b9666daa411 100644 (file)
@@ -70,7 +70,7 @@ ms_svinfo(struct Client *client_p, struct Client *source_p, int parc, const char
                /* TS version is too low on one of the sides, drop the link */
                sendto_realops_snomask(SNO_GENERAL, L_ALL,
                                     "Link %s dropped, wrong TS protocol version (%s,%s)",
-                                    get_server_name(source_p, SHOW_IP), parv[1], parv[2]);
+                                    source_p->name, parv[1], parv[2]);
                snprintf(squitreason, sizeof squitreason, "Incompatible TS version (%s,%s)",
                                parv[1], parv[2]);
                exit_client(source_p, source_p, source_p, squitreason);
@@ -89,7 +89,7 @@ ms_svinfo(struct Client *client_p, struct Client *source_p, int parc, const char
                sendto_realops_snomask(SNO_GENERAL, L_ALL,
                                     "Link %s dropped, excessive TS delta"
                                     " (my TS=%ld, their TS=%ld, delta=%d)",
-                                    get_server_name(source_p, SHOW_IP),
+                                    source_p->name,
                                     (long) rb_current_time(), (long) theirtime, deltat);
                ilog(L_SERVER,
                     "Link %s dropped, excessive TS delta"