Changeset d986463
- Timestamp:
- 2010-04-11T22:31:15Z (15 years ago)
- Branches:
- master
- Children:
- eabc9d2
- Parents:
- 57119e8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
irc_send.c
r57119e8 rd986463 229 229 bu->ic->acc->prpl->name ); 230 230 231 if( bu->status ) 232 { 233 if( bu->status_msg ) 234 irc_send_num( irc, 301, "%s :%s (%s)", iu->nick, bu->status, bu->status_msg ); 231 if( bu->status || bu->status_msg ) 232 { 233 int num = bu->flags & BEE_USER_AWAY ? 301 : 320; 234 235 if( bu->status && bu->status_msg ) 236 irc_send_num( irc, num, "%s :%s (%s)", iu->nick, bu->status, bu->status_msg ); 235 237 else 236 irc_send_num( irc, 301, "%s :%s", iu->nick, bu->status ); 237 } 238 239 /* 240 if( u->status_msg ) 241 irc_send_num( irc, 333, "%s :Status: %s", u->nick, u->status_msg ); 242 */ 238 irc_send_num( irc, num, "%s :%s", iu->nick, bu->status ? : bu->status_msg ); 239 } 243 240 } 244 241 else
Note: See TracChangeset
for help on using the changeset viewer.