Remove Channel->users_last, used nowhere
This commit is contained in:
parent
a2eb0d5913
commit
9a67ad23d9
|
@ -56,7 +56,6 @@ struct Channel
|
|||
char *topic;
|
||||
char *topic_info;
|
||||
time_t topic_time;
|
||||
time_t users_last; /* when last user was in channel */
|
||||
time_t last_knock; /* don't allow knock to flood */
|
||||
|
||||
rb_dlink_list members; /* channel members */
|
||||
|
|
|
@ -240,8 +240,6 @@ remove_user_from_channel(struct membership *msptr)
|
|||
if(client_p->servptr == &me)
|
||||
rb_dlinkDelete(&msptr->locchannode, &chptr->locmembers);
|
||||
|
||||
chptr->users_last = rb_current_time();
|
||||
|
||||
if(!(chptr->mode.mode & MODE_PERMANENT) && rb_dlink_list_length(&chptr->members) <= 0)
|
||||
destroy_channel(chptr);
|
||||
|
||||
|
@ -277,8 +275,6 @@ remove_user_from_channels(struct Client *client_p)
|
|||
if(client_p->servptr == &me)
|
||||
rb_dlinkDelete(&msptr->locchannode, &chptr->locmembers);
|
||||
|
||||
chptr->users_last = rb_current_time();
|
||||
|
||||
if(!(chptr->mode.mode & MODE_PERMANENT) && rb_dlink_list_length(&chptr->members) <= 0)
|
||||
destroy_channel(chptr);
|
||||
|
||||
|
|
Loading…
Reference in New Issue