# | Line 902 | Line 902 | clear_ban_cache(struct Channel *chptr) | |
---|---|---|
902 | } | |
903 | } | |
904 | ||
905 | + | void |
906 | + | clear_ban_cache_client(struct Client *client_p) |
907 | + | { |
908 | + | dlink_node *ptr = NULL; |
909 | + | |
910 | + | DLINK_FOREACH(ptr, client_p->channels.head) |
911 | + | { |
912 | + | struct Membership *ms = ptr->data; |
913 | + | ms->flags &= ~(CHFL_BAN_SILENCED|CHFL_BAN_CHECKED); |
914 | + | } |
915 | + | } |
916 | + | |
917 | static void | |
918 | chm_op(struct Client *client_p, struct Client *source_p, | |
919 | struct Channel *chptr, int parc, int *parn, |
– | Removed lines |
+ | Added lines |
< | Changed lines (old) |
> | Changed lines (new) |