From: Paul Date: Sat, 20 Jul 2013 16:00:18 +0000 (+0100) Subject: refresh patch X-Git-Url: https://jfr.im/git/irc/quakenet/snircd-patchqueue.git/commitdiff_plain/769863cd3102b8e2ed92f40484a28eb1467b10e6 refresh patch --- diff --git a/operglinenick.patch b/operglinenick.patch index b491791..a747490 100644 --- a/operglinenick.patch +++ b/operglinenick.patch @@ -1,12 +1,12 @@ Allow oper to set gline in the form of nick!*@*, but only when the nick part contains no wildcards. -diff -r fcfbd0f17eef ircd/gline.c ---- a/ircd/gline.c Fri Jan 23 00:14:32 2009 +0100 -+++ b/ircd/gline.c Fri Jan 23 00:25:24 2009 +0100 -@@ -530,7 +530,8 @@ +diff -r 3ef25a346a1c ircd/gline.c +--- a/ircd/gline.c Sat Jul 20 15:42:18 2013 +0100 ++++ b/ircd/gline.c Sat Jul 20 15:44:08 2013 +0100 +@@ -546,7 +546,8 @@ if (sizeof(uhmask) < - ircd_snprintf(0, uhmask, sizeof(uhmask), "%s@%s", user, host)) + ircd_snprintf(0, uhmask, sizeof(uhmask), "%s!%s@%s", nick, user, host)) return send_reply(sptr, ERR_LONGMASK); - else if (MyUser(sptr) || (IsUser(sptr) && flags & GLINE_LOCAL)) { + /* when the nick part contains no wildcards, let it through */