diff --git a/ircd/chmode.c b/ircd/chmode.c index c3182d1fd..ea405d80b 100644 --- a/ircd/chmode.c +++ b/ircd/chmode.c @@ -291,7 +291,7 @@ add_id(struct Client *source_p, struct Channel *chptr, const char *banid, const /* invalidate the can_send() cache */ if(mode_type == CHFL_BAN || mode_type == CHFL_QUIET || mode_type == CHFL_EXCEPTION) - chptr->bants++; + chptr->bants = rb_current_time(); return true; } @@ -321,7 +321,7 @@ del_id(struct Channel *chptr, const char *banid, rb_dlink_list * list, long mode /* invalidate the can_send() cache */ if(mode_type == CHFL_BAN || mode_type == CHFL_QUIET || mode_type == CHFL_EXCEPTION) - chptr->bants++; + chptr->bants = rb_current_time(); return banptr; }