aboutsummaryrefslogtreecommitdiffstats
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
parentaa44bddd276f047edd39fdb3eadc9b1e87f0014f (diff)
Always show root's greeting inside the control channel.
-rw-r--r--irc.c8
-rw-r--r--irc_send.c7
2 files changed, 8 insertions, 7 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;
}
}
diff --git a/irc_send.c b/irc_send.c
index 3eecf5f4..ce4c86fe 100644
--- a/irc_send.c
+++ b/irc_send.c
@@ -47,13 +47,6 @@ void irc_send_login( irc_t *irc )
"CASEMAPPING=rfc1459 MAXTARGETS=1 WATCH=128 :are supported by this server",
CTYPES, CMODES, MAX_NICK_LENGTH - 1 );
irc_send_motd( irc );
-
- irc_usermsg( irc, "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." );
}
void irc_send_motd( irc_t *irc )