aboutsummaryrefslogtreecommitdiffstats
path: root/irc.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-04-12 01:31:43 +0200
committerWilmer van der Gaast <wilmer@gaast.net>2010-04-12 01:31:43 +0200
commite21c0f8b276cc3ca177bcf6217eba9c634d410f7 (patch)
tree6ded601cbaa4fbcbef6874d54d7f099211cd072d /irc.c
parentaa44bddd276f047edd39fdb3eadc9b1e87f0014f (diff)
Always show root's greeting inside the control channel.
Diffstat (limited to 'irc.c')
-rw-r--r--irc.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/irc.c b/irc.c
index b6a1b9f9..8f4024dd 100644
--- a/irc.c
+++ b/irc.c
@@ -639,6 +639,14 @@ int irc_check_login( irc_t *irc )
irc->last_root_cmd = g_strdup( ROOT_CHAN );
+ irc_send_msg( irc->root, "PRIVMSG", ROOT_CHAN,
+ "Welcome to the BitlBee gateway!\n\n"
+ "If you've never used BitlBee before, please do read the help "
+ "information using the \x02help\x02 command. Lots of FAQs are "
+ "answered there.\n"
+ "If you already have an account on this server, just use the "
+ "\x02identify\x02 command to identify yourself.", NULL );
+
return 1;
}
}