Changes in root_commands.c [449a51d:a0bd4c2]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
root_commands.c
r449a51d ra0bd4c2 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 }151 145 152 146 switch (status) { … … 914 908 online = 1; 915 909 else 916 online = away = 1;910 online = away = 1; 917 911 918 912 if( strchr( irc->umode, 'b' ) != NULL ) … … 927 921 if( online == 1 ) 928 922 { 929 char st[256] = "Online";930 931 if( u->status_msg )932 g_snprintf( st, sizeof( st ) - 1, "Online (%s)", u->status_msg );933 934 923 g_snprintf( s, sizeof( s ) - 1, "%s@%s %s(%s)", u->user, u->host, u->ic->acc->prpl->name, u->ic->acc->user ); 935 irc_usermsg( irc, format, u->nick, s, st);924 irc_usermsg( irc, format, u->nick, s, "Online" ); 936 925 } 937 926
Note: See TracChangeset
for help on using the changeset viewer.