Changeset 5a71d9c for protocols/nogaim.c


Ignore:
Timestamp:
2008-02-09T17:58:13Z (17 years ago)
Author:
Sven Moritz Hallberg <sm@…>
Branches:
master
Children:
f55cfe9
Parents:
a13855a
Message:
  • add support for setting ops/voice according to OTR msgstate
  • add 'otr trust' user command
  • support non-otr messages during keygen
  • run otr messages through strip_html
  • interpret <b> and <i> tags in html messages
  • record max message size in prpl
  • add 'encrypted' flag to user_t
  • cosmetics
File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/nogaim.c

    ra13855a r5a71d9c  
    603603       
    604604        /* LISPy... */
    605         if( ( set_getbool( &ic->irc->set, "away_devoice" ) ) &&         /* Don't do a thing when user doesn't want it */
    606             ( u->online ) &&                                            /* Don't touch offline people */
    607             ( ( ( u->online != oo ) && !u->away ) ||                    /* Voice joining people */
    608               ( ( u->online == oo ) && ( oa == !u->away ) ) ) )         /* (De)voice people changing state */
     605        if( ( u->online ) &&                                            /* Don't touch offline people */
     606            ( ( ( u->online != oo ) && !u->away ) ||                    /* Do joining people */
     607              ( ( u->online == oo ) && ( oa == !u->away ) ) ) )         /* Do people changing state */
    609608        {
    610609                char *from;
     
    619618                                                            ic->irc->myhost );
    620619                }
    621                 irc_write( ic->irc, ":%s MODE %s %cv %s", from, ic->irc->channel,
    622                                                           u->away?'-':'+', u->nick );
     620                if(!strcmp(set_getstr(&ic->irc->set, "voice_buddies"), "notaway")) {
     621                        irc_write( ic->irc, ":%s MODE %s %cv %s", from, ic->irc->channel,
     622                                                                 u->away?'-':'+', u->nick );
     623                }
     624                if(!strcmp(set_getstr(&ic->irc->set, "op_buddies"), "notaway")) {
     625                        irc_write( ic->irc, ":%s MODE %s %co %s", from, ic->irc->channel,
     626                                                                 u->away?'-':'+', u->nick );
     627                }
    623628                g_free( from );
    624629        }
Note: See TracChangeset for help on using the changeset viewer.