Changeset 2087159 for protocols


Ignore:
Timestamp:
2006-10-22T09:24:55Z (17 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
670204f
Parents:
91bd910
Message:

Away devoices are done by the server instead of by root now. This makes
more sense with the "netsplit feature". (Because of less noisy joins.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/nogaim.c

    r91bd910 r2087159  
    573573              ( ( u->online == oo ) && ( oa == !u->away ) ) ) )         /* (De)voice people changing state */
    574574        {
    575                 irc_write( gc->irc, ":%s!%s@%s MODE %s %cv %s", gc->irc->mynick, gc->irc->mynick, gc->irc->myhost,
     575                irc_write( gc->irc, ":%s MODE %s %cv %s", gc->irc->myhost,
    576576                                                                gc->irc->channel, u->away?'-':'+', u->nick );
    577577        }
     
    907907                                {
    908908                                        for( i = 0; i < count; v[i++] = 'v' ); v[i] = 0;
    909                                         irc_write( irc, ":%s!%s@%s MODE %s %c%s%s",
    910                                                    irc->mynick, irc->mynick, irc->myhost,
     909                                        irc_write( irc, ":%s MODE %s %c%s%s",
     910                                                   irc->myhost,
    911911                                                   irc->channel, pm, v, list );
    912912                                       
     
    923923                /* $v = 'v' x $i */
    924924                for( i = 0; i < count; v[i++] = 'v' ); v[i] = 0;
    925                 irc_write( irc, ":%s!%s@%s MODE %s %c%s%s", irc->mynick, irc->mynick, irc->myhost,
     925                irc_write( irc, ":%s MODE %s %c%s%s", irc->myhost,
    926926                                                            irc->channel, pm, v, list );
    927927        }
Note: See TracChangeset for help on using the changeset viewer.