diff options
Diffstat (limited to 'protocols/twitter/twitter.c')
| -rw-r--r-- | protocols/twitter/twitter.c | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/protocols/twitter/twitter.c b/protocols/twitter/twitter.c index f4230cf7..ce702f9c 100644 --- a/protocols/twitter/twitter.c +++ b/protocols/twitter/twitter.c @@ -507,7 +507,11 @@ static void twitter_handle_command( struct im_connection *ic, char *message )  		    ( tud = bu->data ) && tud->last_id )  			id = tud->last_id;  		else +		{  			id = g_ascii_strtoull( cmd[1], NULL, 10 ); +			if( id < TWITTER_LOG_LENGTH ) +				id = td->log[id].id; +		}  		td->last_status_id = 0;  		if( id ) | 
