From: Gunnar Beutner Date: Mon, 15 Jul 2013 19:19:04 +0000 (+0200) Subject: Don't do it twice tough, duh. X-Git-Url: https://jfr.im/git/irc/quakenet/newserv.git/commitdiff_plain/a368e757f046f219786e191e36656692464df189 Don't do it twice tough, duh. --HG-- branch : shroudtrusts --- diff --git a/glines/glines_formats.c b/glines/glines_formats.c index b9fd9352..c47063ec 100644 --- a/glines/glines_formats.c +++ b/glines/glines_formats.c @@ -85,12 +85,6 @@ gline *makegline(const char *mask) { return gl; } - /* Make sure it's not too long */ - if (strlen(mask) > NICKLEN + USERLEN + HOSTLEN + 4) { - freegline(gl); - return NULL; - } - strncpy(dupmask, mask, sizeof(dupmask)); canon_userhost(dupmask, &nick, &user, &host, "*");