diff options
| author | Wilmer van der Gaast <wilmer@gaast.net> | 2007-04-22 19:58:44 -0700 | 
|---|---|---|
| committer | Wilmer van der Gaast <wilmer@gaast.net> | 2007-04-22 19:58:44 -0700 | 
| commit | 0e7ab64dfb66192a875c37322ca6f8a364ec5bc8 (patch) | |
| tree | 93e010a079632973a1e101ad0b85e4af67923643 /protocols/nogaim.c | |
| parent | 43671b964b636520a54e343542c5958b30e9f589 (diff) | |
Got rid of one HORRIBLE stupidity called chat_by_channel(), which still
used the GLOBAL IM connections list, allowing user A to interfere with
user B's groupchats if running in daemon mode. I can't believe this was
still there...
Diffstat (limited to 'protocols/nogaim.c')
| -rw-r--r-- | protocols/nogaim.c | 18 | 
1 files changed, 0 insertions, 18 deletions
| diff --git a/protocols/nogaim.c b/protocols/nogaim.c index f3dbb0b8..5b1c4346 100644 --- a/protocols/nogaim.c +++ b/protocols/nogaim.c @@ -855,24 +855,6 @@ static int remove_chat_buddy_silent( struct groupchat *b, char *handle )  /* Misc. BitlBee stuff which shouldn't really be here */ -struct groupchat *chat_by_channel( char *channel ) -{ -	struct im_connection *ic; -	struct groupchat *c; -	GSList *l; -	 -	/* This finds the connection which has a conversation which belongs to this channel */ -	for( l = connections; l; l = l->next ) -	{ -		ic = l->data; -		for( c = ic->groupchats; c && g_strcasecmp( c->channel, channel ) != 0; c = c->next ); -		if( c ) -			return c; -	} -	 -	return NULL; -} -  char *set_eval_away_devoice( set_t *set, char *value )  {  	irc_t *irc = set->data; | 
