Changeset f7ca587 for irc.c


Ignore:
Timestamp:
2010-07-29T18:18:54Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
1521a85
Parents:
2fe5eb9
Message:

Restore default_target setting, kill last_root_cmd variable and just use
the last_channel variable, like for any other user.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc.c

    r2fe5eb9 rf7ca587  
    244244        g_free( irc->readbuffer );
    245245        g_free( irc->password );
    246         g_free( irc->last_root_cmd );
    247246       
    248247        g_free( irc );
     
    729728                        irc_channel_auto_joins( irc, NULL );
    730729                       
    731                         irc->last_root_cmd = g_strdup( ROOT_CHAN );
    732                        
    733                         irc_send_msg( irc->root, "PRIVMSG", ROOT_CHAN,
    734                                       "Welcome to the BitlBee gateway!\n\n"
    735                                       "If you've never used BitlBee before, please do read the help "
    736                                       "information using the \x02help\x02 command. Lots of FAQs are "
    737                                       "answered there.\n"
    738                                       "If you already have an account on this server, just use the "
    739                                       "\x02identify\x02 command to identify yourself.", NULL );
     730                        irc->root->last_channel = irc->default_channel;
     731                       
     732                        irc_usermsg( irc,
     733                                     "Welcome to the BitlBee gateway!\n\n"
     734                                     "If you've never used BitlBee before, please do read the help "
     735                                     "information using the \x02help\x02 command. Lots of FAQs are "
     736                                     "answered there.\n"
     737                                     "If you already have an account on this server, just use the "
     738                                     "\x02identify\x02 command to identify yourself." );
    740739                       
    741740                        /* This is for bug #209 (use PASS to identify to NickServ). */
Note: See TracChangeset for help on using the changeset viewer.