From: Jilles Tjoelker Date: Sun, 3 Feb 2013 19:31:03 +0000 (+0100) Subject: UID/EUID: Add server's SID to invalid UID error message. X-Git-Url: https://jfr.im/git/solanum.git/commitdiff_plain/e0c7937a9f4fc1136e74ac0e57ca96511b1669a8 UID/EUID: Add server's SID to invalid UID error message. --- diff --git a/modules/core/m_nick.c b/modules/core/m_nick.c index 51c04980..c70f70d0 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; }