Changeset 449a51d
- Timestamp:
- 2010-03-16T10:18:02Z (15 years ago)
- Branches:
- master
- Children:
- ec55a7d
- Parents:
- 9fca0657
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
irc_commands.c
r9fca0657 r449a51d 497 497 else if( u->away ) 498 498 irc_reply( irc, 301, "%s :%s", u->nick, u->away ); 499 if( u->status_msg ) 500 irc_reply( irc, 333, "%s :Status: %s", u->nick, u->status_msg ); 499 501 500 502 irc_reply( irc, 318, "%s :End of /WHOIS list", nick ); -
protocols/nogaim.c
r9fca0657 r449a51d 647 647 oo = u->online; 648 648 649 if( u->away ) 650 { 651 g_free( u->away ); 652 u->away = NULL; 653 } 649 g_free( u->away ); 650 g_free( u->status_msg ); 651 u->away = u->status_msg = NULL; 654 652 655 653 if( ( flags & OPT_LOGGED_IN ) && !u->online ) … … 689 687 } 690 688 } 691 /* else waste_any_state_information_for_now(); */ 689 else 690 { 691 u->status_msg = g_strdup( message ); 692 } 692 693 693 694 /* LISPy... */ -
root_commands.c
r9fca0657 r449a51d 914 914 online = 1; 915 915 else 916 online = 916 online = away = 1; 917 917 918 918 if( strchr( irc->umode, 'b' ) != NULL ) … … 927 927 if( online == 1 ) 928 928 { 929 char st[256] = "Online"; 930 931 if( u->status_msg ) 932 g_snprintf( st, sizeof( st ) - 1, "Online (%s)", u->status_msg ); 933 929 934 g_snprintf( s, sizeof( s ) - 1, "%s@%s %s(%s)", u->user, u->host, u->ic->acc->prpl->name, u->ic->acc->user ); 930 irc_usermsg( irc, format, u->nick, s, "Online");935 irc_usermsg( irc, format, u->nick, s, st ); 931 936 } 932 937 -
user.h
r9fca0657 r449a51d 34 34 35 35 char *away; 36 char *status_msg; /* Non-IRC extension, but nice on IM. */ 36 37 37 38 char is_private;
Note: See TracChangeset
for help on using the changeset viewer.