diff options
author | dequis <dx@dxzone.com.ar> | 2015-03-07 01:10:59 -0300 |
---|---|---|
committer | dequis <dx@dxzone.com.ar> | 2015-03-10 04:33:54 -0300 |
commit | 732061027ec0d83db224e81df0fd1b3905a3cdec (patch) | |
tree | cc67cd6db47521fc5188b3eecd0b10f7a7cc0eca /irc.c | |
parent | 8b91a1f60f5d27c91d5a9939236e6078a090ef92 (diff) |
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: <name>" 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)
Diffstat (limited to 'irc.c')
-rw-r--r-- | irc.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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) { |