Changeset 5c90890 for irc_channel.c
- Timestamp:
- 2018-07-12T08:54:12Z (6 years ago)
- Branches:
- master
- Children:
- c82e4ca
- Parents:
- b9d1fdc
- git-author:
- dequis <dx@…> (03-07-18 06:17:17)
- git-committer:
- dequis <dx@…> (12-07-18 08:54:12)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
irc_channel.c
rb9d1fdc r5c90890 121 121 { 122 122 irc_t *irc; 123 GSList *l; 123 GHashTableIter iter; 124 gpointer itervalue; 124 125 125 126 if (ic == NULL) { … … 146 147 } 147 148 148 for (l = irc->users; l; l = l->next) { 149 irc_user_t *iu = l->data; 149 g_hash_table_iter_init(&iter, irc->nick_user_hash); 150 151 while (g_hash_table_iter_next(&iter, NULL, &itervalue)) { 152 irc_user_t *iu = itervalue; 150 153 151 154 if (iu->last_channel == ic) { … … 729 732 } 730 733 } else if (g_strcasecmp(set_getstr(&irc->b->set, "default_target"), "last") == 0 && 731 ic->last_target && g_ slist_find(irc->users, ic->last_target)) {734 ic->last_target && g_hash_table_contains(irc->nick_user_hash, ic->last_target->key)) { 732 735 iu = ic->last_target; 733 736 } else {
Note: See TracChangeset
for help on using the changeset viewer.