aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/bee_user.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-05-03 23:58:15 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2010-05-03 23:58:15 +0100
commit0d4a068823e4a205c465f10a05ab699f0cef8e06 (patch)
treea240572359c910321b800e3ca7897add66c42af6 /protocols/bee_user.c
parent1a3ba05edfd8228908999d7c589f039513558539 (diff)
Removed some disabled code related to away_devoice (now implemented anyway).
Diffstat (limited to 'protocols/bee_user.c')
-rw-r--r--protocols/bee_user.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/protocols/bee_user.c b/protocols/bee_user.c
index 7a38882b..8db2fa28 100644
--- a/protocols/bee_user.c
+++ b/protocols/bee_user.c
@@ -138,29 +138,6 @@ void imcb_buddy_status( struct im_connection *ic, const char *handle, int flags,
g_free( old->status_msg );
g_free( old->status );
g_free( old );
-#if 0
- /* LISPy... */
- if( ( set_getbool( &ic->bee->set, "away_devoice" ) ) && /* Don't do a thing when user doesn't want it */
- ( u->online ) && /* Don't touch offline people */
- ( ( ( u->online != oo ) && !u->away ) || /* Voice joining people */
- ( ( u->online == oo ) && ( oa == !u->away ) ) ) ) /* (De)voice people changing state */
- {
- char *from;
-
- if( set_getbool( &ic->bee->set, "simulate_netsplit" ) )
- {
- from = g_strdup( ic->irc->myhost );
- }
- else
- {
- from = g_strdup_printf( "%s!%s@%s", ic->irc->mynick, ic->irc->mynick,
- ic->irc->myhost );
- }
- irc_write( ic->irc, ":%s MODE %s %cv %s", from, ic->irc->channel,
- u->away?'-':'+', u->nick );
- g_free( from );
- }
-#endif
}
void imcb_buddy_msg( struct im_connection *ic, const char *handle, char *msg, uint32_t flags, time_t sent_at )