From 732061027ec0d83db224e81df0fd1b3905a3cdec Mon Sep 17 00:00:00 2001 From: dequis Date: Sat, 7 Mar 2015 01:10:59 -0300 Subject: Various user experience/error reporting improvements - Show version as part of the initial message of &bitlbee - Use g_strerror() to show actual errors when saving xml configs - Only show "The nick is (probably) not registered" for ENOENT, use g_strerror() for the rest of OS errors when loading xml configs - Show "Protocol not found: " when find_protocol() returns null, useful when the user uninstalls a plugin accidentally. - Suggest the user to check the system clock when getting error 401 from the twitter stream (other REST endpoints show a better error message) --- irc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'irc.c') diff --git a/irc.c b/irc.c index 429e1ad2..6b3fa737 100644 --- a/irc.c +++ b/irc.c @@ -763,11 +763,13 @@ int irc_check_login(irc_t *irc) irc_rootmsg(irc, "Welcome to the BitlBee gateway!\n\n" + "Running %s %s\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."); + "\x02identify\x02 command to identify yourself.", + PACKAGE, BITLBEE_VERSION); /* This is for bug #209 (use PASS to identify to NickServ). */ if (irc->password != NULL) { -- cgit v1.2.3