Changes in / [92ad3d4:c1826c6]
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
irc.c
r92ad3d4 rc1826c6 1173 1173 } 1174 1174 irc_reply( irc, 376, ":End of MOTD" ); 1175 close ( fd );1175 closesocket( fd ); 1176 1176 } 1177 1177 } -
protocols/yahoo/yahoo.c
r92ad3d4 rc1826c6 189 189 { 190 190 struct byahoo_data *yd = (struct byahoo_data *) gc->proto_data; 191 191 192 192 gc->away = NULL; 193 194 if ( msg)193 194 if (msg) 195 195 { 196 196 yd->current_status = YAHOO_STATUS_CUSTOM; 197 197 gc->away = ""; 198 198 } 199 if( state)199 else if (state) 200 200 { 201 201 gc->away = ""; 202 if( g_strcasecmp( 202 if( g_strcasecmp(state, "Available" ) == 0 ) 203 203 { 204 204 yd->current_status = YAHOO_STATUS_AVAILABLE; … … 235 235 } 236 236 } 237 else if ( gc->is_idle )237 else if ( gc->is_idle ) 238 238 yd->current_status = YAHOO_STATUS_IDLE; 239 239 else 240 240 yd->current_status = YAHOO_STATUS_AVAILABLE; 241 241 242 if( yd->current_status == YAHOO_STATUS_INVISIBLE ) 243 yahoo_set_away( yd->y2_id, yd->current_status, NULL, gc->away != NULL ); 244 else 245 yahoo_set_away( yd->y2_id, yd->current_status, msg, gc->away != NULL ); 242 yahoo_set_away( yd->y2_id, yd->current_status, msg, gc->away != NULL ); 246 243 } 247 244
Note: See TracChangeset
for help on using the changeset viewer.