Remove Channel->users_last, used nowhere

This commit is contained in:
Valery V Yatsko 2008-06-28 12:25:53 +04:00
parent 402f3941d0
commit b4407833bd
2 changed files with 0 additions and 5 deletions

View file

@ -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 */

View file

@ -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);