Diogo Sousa
d9d05e83ba
Restructured a fair bit of cfgfiles.c. Besides making the code cleaner this allows
...
for better error handling (in fact the error message of check_prefs_dir () whould
make hexchat abort).
2013-05-13 01:58:08 +01:00
Diogo Sousa
61ed0829bd
Forget to put an empty line after a function definition
2013-05-12 23:33:44 +01:00
Diogo Sousa
f023de0faf
Removed unnecessary call to check_prefs_dir() in load_config().
...
This function is called in save_config(), where it is actually needed.
2013-05-12 23:25:36 +01:00
Diogo Sousa
7238853f0f
Factored locale related code in main() to a new function.
2013-05-12 23:15:23 +01:00
Diogo Sousa
6a8cad6f94
Now hexchat doesn't abnormally terminal when started as root.
...
This fixes #589/#504.
2013-05-12 16:37:38 +01:00
Diogo Sousa
36694afe0e
Don't send ping's to the server if we are still waiting for a pong.
...
If the server don't respond in 30s just report the lag as +30s.
This fixes the bug where hexchat reset the lag meter every time a ping
was sent and no pong was received.
2013-04-09 19:14:46 -07:00