aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/nogaim.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2006-10-22 11:24:55 +0200
committerWilmer van der Gaast <wilmer@gaast.net>2006-10-22 11:24:55 +0200
commit208715962fcd1b806d42ef7edb47503eb296895b (patch)
treeef537da3bb6973f17ccfe6e49a9bb2c341313bf8 /protocols/nogaim.c
parent91bd910ec5ecf95953518246e3fd0adf1f43c1f7 (diff)
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.)
Diffstat (limited to 'protocols/nogaim.c')
-rw-r--r--protocols/nogaim.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/nogaim.c b/protocols/nogaim.c
index 47e2bda6..0270d5a0 100644
--- a/protocols/nogaim.c
+++ b/protocols/nogaim.c
@@ -572,7 +572,7 @@ void serv_got_update( struct gaim_connection *gc, char *handle, int loggedin, in
( ( ( u->online != oo ) && !u->away ) || /* Voice joining people */
( ( u->online == oo ) && ( oa == !u->away ) ) ) ) /* (De)voice people changing state */
{
- irc_write( gc->irc, ":%s!%s@%s MODE %s %cv %s", gc->irc->mynick, gc->irc->mynick, gc->irc->myhost,
+ irc_write( gc->irc, ":%s MODE %s %cv %s", gc->irc->myhost,
gc->irc->channel, u->away?'-':'+', u->nick );
}
}
@@ -906,8 +906,8 @@ char *set_eval_away_devoice( set_t *set, char *value )
if( ( strlen( list ) + strlen( u->nick ) ) >= 79 )
{
for( i = 0; i < count; v[i++] = 'v' ); v[i] = 0;
- irc_write( irc, ":%s!%s@%s MODE %s %c%s%s",
- irc->mynick, irc->mynick, irc->myhost,
+ irc_write( irc, ":%s MODE %s %c%s%s",
+ irc->myhost,
irc->channel, pm, v, list );
*list = 0;
@@ -922,7 +922,7 @@ char *set_eval_away_devoice( set_t *set, char *value )
/* $v = 'v' x $i */
for( i = 0; i < count; v[i++] = 'v' ); v[i] = 0;
- irc_write( irc, ":%s!%s@%s MODE %s %c%s%s", irc->mynick, irc->mynick, irc->myhost,
+ irc_write( irc, ":%s MODE %s %c%s%s", irc->myhost,
irc->channel, pm, v, list );
}