X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=ircd%2FIPcheck.c;h=b74d02b7da3b86868bd96352f83a8c95959d8823;hb=b95f40f9ed63623ca230165e95cdc77ae6d1e2a6;hp=837ed0141ee6c4e9500c3a745bc7d79888e70cb5;hpb=253ef8308c817caf67c29c9815703e20a3a9c9d6;p=ircu2.10.12-pk.git diff --git a/ircd/IPcheck.c b/ircd/IPcheck.c index 837ed01..b74d02b 100644 --- a/ircd/IPcheck.c +++ b/ircd/IPcheck.c @@ -428,7 +428,7 @@ void ip_registry_disconnect(struct Client *cptr) if (0 == --entry->connected) { if (CONNECTED_SINCE(entry->last_connect) > IPCHECK_CLONE_LIMIT * IPCHECK_CLONE_PERIOD) { /* - * Otherwise we'd penetalize for this old value if the client reconnects within 20 seconds + * Otherwise we'd penalize for this old value if the client reconnects within 20 seconds */ entry->attempts = 0; } @@ -450,7 +450,7 @@ void ip_registry_disconnect(struct Client *cptr) /* * This calculation can be pretty unfair towards large multi-user hosts, but * there is "nothing" we can do without also allowing spam bots to send more - * messages or by drastically increasing the ammount of memory used in the IPregistry. + * messages or by drastically increasing the amount of memory used in the IPregistry. * * The problem is that when a client disconnects, leaving no free targets, then * the next client from that IP number has to pay for it (getting no free targets). @@ -477,7 +477,7 @@ void ip_registry_disconnect(struct Client *cptr) */ free_targets += (CurrentTime - cli_firsttime(cptr) - 600) / TARGET_DELAY; /* - * Finally, store smallest value for Judgement Day + * Finally, store smallest value for Judgment Day */ if (free_targets < entry->target->count) entry->target->count = free_targets; @@ -520,7 +520,7 @@ int IPcheck_remote_connect(struct Client *cptr, int is_burst) /** Handle a client being rejected during connection through no fault * of their own. This "undoes" the effect of ip_registry_check_local() * so the client's address is not penalized for the failure. - * @param[in] a Address of rejected client. + * @param[in] cptr Client who has been rejected. */ void IPcheck_connect_fail(const struct Client *cptr) {