Changeset b925666 for irc.c


Ignore:
Timestamp:
2010-07-29T19:30:47Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
8b61469
Parents:
1521a85
Message:

Show a friendly warning message when running in inetd mode on the command
line (if stdin is a TTY). This hopefully answers a FAQ. Also moved stuff
around in README a little bit, daemon mode should be described before
obsolete inetd stuff.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc.c

    r1521a85 rb925666  
    147147       
    148148        irc_write( irc, ":%s NOTICE AUTH :%s", irc->root->host, "BitlBee-IRCd initialized, please go on" );
     149        if( isatty( irc->fd ) )
     150                irc_write( irc, ":%s NOTICE AUTH :%s", irc->root->host,
     151                           "If you read this, you most likely accidentally "
     152                           "started BitlBee in inetd mode on the command line. "
     153                           "You probably want to run it in (Fork)Daemon mode. "
     154                           "See doc/README for more information." );
    149155       
    150156        g_free( myhost );
Note: See TracChangeset for help on using the changeset viewer.