Changes in root_commands.c [a0bd4c2:449a51d]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
root_commands.c
ra0bd4c2 r449a51d 143 143 storage_status_t status = storage_load( irc, cmd[1] ); 144 144 char *account_on[] = { "account", "on", NULL }; 145 146 if( strchr( irc->umode, 'R' ) != NULL ) 147 { 148 irc_usermsg( irc, "You're already logged in." ); 149 return; 150 } 145 151 146 152 switch (status) { … … 908 914 online = 1; 909 915 else 910 online = 916 online = away = 1; 911 917 912 918 if( strchr( irc->umode, 'b' ) != NULL ) … … 921 927 if( online == 1 ) 922 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 923 934 g_snprintf( s, sizeof( s ) - 1, "%s@%s %s(%s)", u->user, u->host, u->ic->acc->prpl->name, u->ic->acc->user ); 924 irc_usermsg( irc, format, u->nick, s, "Online");935 irc_usermsg( irc, format, u->nick, s, st ); 925 936 } 926 937
Note: See TracChangeset
for help on using the changeset viewer.