From e0c7937a9f4fc1136e74ac0e57ca96511b1669a8 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Sun, 3 Feb 2013 20:31:03 +0100 Subject: [PATCH] UID/EUID: Add server's SID to invalid UID error message. --- modules/core/m_nick.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/core/m_nick.c b/modules/core/m_nick.c index 51c049802..c70f70d0e 100644 --- a/modules/core/m_nick.c +++ b/modules/core/m_nick.c @@ -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; }