Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc_channel.c

    r25f6151 r3c3b916  
    245245        ic->users = g_slist_insert_sorted(ic->users, icu, irc_channel_user_cmp);
    246246
    247         irc_channel_update_ops(ic, set_getstr(&ic->irc->b->set, "ops"));
     247        if (iu == ic->irc->user || iu == ic->irc->root) {
     248                irc_channel_update_ops(ic, set_getstr(&ic->irc->b->set, "ops"));
     249        }
    248250
    249251        if (iu == ic->irc->user || ic->flags & IRC_CHANNEL_JOINED) {
Note: See TracChangeset for help on using the changeset viewer.