Fix trailing slashes which leads to segfault.
Add extra check to opened file opointer.
add valid nick function
Make sure friend message is null-terminated else generate garbate on screen.
Merge pull request #56 from aitjcize/bugfix

Make sure friend message is null-terminated else generate garbate on screen
Merge pull request #55 from aitjcize/fix-path-name

Fix trailing slashes which leads to segfault.
couple fixes
improve window alert functionality
Fix possible crash.
fixes
don't need that
Merge branch 'master' of https://github.com/Tox/toxic
merge
Merge branch 'groupbot' of https://github.com/JFreegman/toxic into groupbot