#define NSMAX_GLINE_LIMIT 500
+#define NSMAX_GLINE_CLONES 5
+
+
/* gline duration, in seconds */
#define NSGLINE_DURATION 3600
nnp = np->next;
if (np->marker == localdata->marker) {
if (!IsOper(np) && !IsService(np) && !IsXOper(np)) {
- if (np->ident[0] == '~')
+ if (np->host->clonecount <= NSMAX_GLINE_CLONES)
irc_send("%s GL * +*@%s %u :You (%s!%s@%s) have been glined for violating our terms of service.",
mynumeric->content, IPtostr(np->ipaddress), localdata->duration, np->nick, np->ident, IPtostr(np->ipaddress));
else