X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=include%2Fgline.h;h=f79b801e3cdfee06c11a603d7e7a3a35b650e26a;hb=refs%2Fheads%2Fupstream;hp=e5623f4f3fca2ee44477f87180e6af5d2dc3429e;hpb=2575d32764863d3d571794f433e407d21a06032a;p=ircu2.10.12-pk.git diff --git a/include/gline.h b/include/gline.h index e5623f4..f79b801 100644 --- a/include/gline.h +++ b/include/gline.h @@ -50,13 +50,13 @@ struct Gline { struct Gline *gl_next; /**< Next G-line in linked list. */ struct Gline**gl_prev_p; /**< Previous pointer to this G-line. */ char *gl_user; /**< Username mask (or channel/realname mask). */ - char *gl_host; /**< Host prtion of mask. */ + char *gl_host; /**< Host portion of mask. */ char *gl_reason; /**< Reason for G-line. */ time_t gl_expire; /**< Expiration timestamp. */ time_t gl_lastmod; /**< Last modification timestamp. */ time_t gl_lifetime; /**< Record expiration timestamp. */ struct irc_in_addr gl_addr; /**< IP address (for IP-based G-lines). */ - unsigned char gl_bits; /**< Usable bits in gl_addr. */ + unsigned char gl_bits; /**< Bits in gl_addr used in the mask. */ unsigned int gl_flags; /**< G-line status flags. */ enum GlineLocalState gl_state;/**< G-line local state. */ }; @@ -128,9 +128,6 @@ extern int gline_activate(struct Client *cptr, struct Client *sptr, extern int gline_deactivate(struct Client *cptr, struct Client *sptr, struct Gline *gline, time_t lastmod, unsigned int flags); -extern int gline_forward_deactivation(struct Client *cptr, struct Client *sptr, - char *userhost, time_t expire, time_t lastmod, - time_t lifetime, unsigned int flags); extern int gline_modify(struct Client *cptr, struct Client *sptr, struct Gline *gline, enum GlineAction action, char *reason, time_t expire, time_t lastmod,