From 7940fce228151d9cc066c853377dda45c0035613 Mon Sep 17 00:00:00 2001 From: "Kevin L. Mitchell" Date: Fri, 14 Apr 2000 20:42:28 +0000 Subject: [PATCH] Author: Kev Log message: * ircd/m_gline.c (mo_gline): d'oh, target isn't a numeric; use %C and convert acptr... git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@175 c9e4aea6-c8fd-4c43-8297-357d70d61c8c --- ChangeLog | 5 ++++- ircd/m_gline.c | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index c684340..9754a32 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2000-04-14 Kevin L. Mitchell + * ircd/m_gline.c (mo_gline): d'oh, target isn't a numeric; use %C + and convert acptr... + * ircd/s_user.c: move gline_lookup function call into register_user, where it'll have a username to lookup! @@ -528,7 +531,7 @@ # # ChangeLog for ircu2.10.11 # -# $Id: ChangeLog,v 1.86 2000-04-14 20:19:41 kev Exp $ +# $Id: ChangeLog,v 1.87 2000-04-14 20:42:28 kev Exp $ # # Insert new changes at beginning of the change list. # diff --git a/ircd/m_gline.c b/ircd/m_gline.c index 40eaf2f..7d1c695 100644 --- a/ircd/m_gline.c +++ b/ircd/m_gline.c @@ -257,7 +257,7 @@ mo_gline(struct Client *cptr, struct Client *sptr, int parc, char *parv[]) if (!IsOper(sptr)) return send_error_to_client(sptr, ERR_NOPRIVILEGES); - sendcmdto_one(acptr, CMD_GLINE, sptr, "%s %c%s %s %Tu :%s", target, + sendcmdto_one(acptr, CMD_GLINE, sptr, "%C %c%s %s %Tu :%s", acptr, flags & GLINE_ACTIVE ? '?' : '-', mask, parv[3], TStime(), reason); return 0; -- 2.20.1