]> jfr.im git - solanum.git/commitdiff
UID/EUID: Add server's SID to invalid UID error message.
authorJilles Tjoelker <redacted>
Sun, 3 Feb 2013 19:31:03 +0000 (20:31 +0100)
committerJilles Tjoelker <redacted>
Sun, 3 Feb 2013 19:31:52 +0000 (20:31 +0100)
modules/core/m_nick.c

index 51c049802d97091dd6dddef868b5aad94a5ade14..c70f70d0ee038e3dea0369f26442e71e10e3f9b8 100644 (file)
@@ -365,8 +365,8 @@ ms_uid(struct Client *client_p, struct Client *source_p, int parc, const char *p
        if(!clean_uid(parv[8], source_p->id))
        {
                rb_snprintf(squitreason, sizeof squitreason,
-                               "Invalid UID %s for nick %s on %s",
-                               parv[8], parv[1], source_p->name);
+                               "Invalid UID %s for nick %s on %s/%s",
+                               parv[8], parv[1], source_p->name, source_p->id);
                exit_client(client_p, client_p, client_p, squitreason);
                return 0;
        }
@@ -456,8 +456,8 @@ ms_euid(struct Client *client_p, struct Client *source_p, int parc, const char *
        if(!clean_uid(parv[8], source_p->id))
        {
                rb_snprintf(squitreason, sizeof squitreason,
-                               "Invalid UID %s for nick %s on %s",
-                               parv[8], parv[1], source_p->name);
+                               "Invalid UID %s for nick %s on %s/%s",
+                               parv[8], parv[1], source_p->name, source_p->id);
                exit_client(client_p, client_p, client_p, squitreason);
                return 0;
        }