{"shas":[["cd7822548266ab9d88781599e041866a92234b29","346c0ad49ac8427b61b3b55abbe37dc0ebd524f2@znc.in","Don't expand ~ in ISpoofFile\n\nThis way, we can write the original value back to the config. Also, this \"fixes\"\na bug because webadmin didn't do this step.\n\nSigned-off-by: Uli Schlachter <psychon@znc.in>","Uli Schlachter"],["f69aeff3d9ef15c7bef34daca9dd93327f23a087","346c0ad49ac8427b61b3b55abbe37dc0ebd524f2@znc.in","Some minor cleanup\n\nThis makes the code use GetISpoofFile() instead of accessing m_sISpoofFile\ndirectly. Additonally, CFile::GetLongName() is used for printing the filepath.\n\n(This also removes an useless if branch, because nothing here cares if\nm_sISpoofFile is empty, we just need the lock file.)\n\nSigned-off-by: Uli Schlachter <psychon@znc.in>","Uli Schlachter"],["ce10cee260edceaa64daec4672fbdf3a60647af0","346c0ad49ac8427b61b3b55abbe37dc0ebd524f2@znc.in","Correctly handle \"~\" in SSLCertFile\n\nThis works correctly because only the config writing/reading accesses\nCZNC::m_sSSLCertFile directly, everything else goes through this getter.\n\nThis ChangeDir() call will also \"sanitize\" the path. E.g. \"/foo//..//home///\"\nwill be turned into \"/home/\" and stuff like that.\n\nSigned-off-by: Uli Schlachter <psychon@znc.in>","Uli Schlachter"],["cb2e50a5bd79697c3299d50d5e2596821d87fa62","346c0ad49ac8427b61b3b55abbe37dc0ebd524f2@znc.in","CFile: Handle paths like \"~/foo\"\n\nThis let's CFile expand relative-to-home paths. I \"accidentally\" broke\nISpoofFile with some recent commit and that is now fixed with this. This should\nsolve this problem for quite a lot of other places, too.\n\nIdea (c) by DarthGandalf, thanks. :)\n\nSigned-off-by: Uli Schlachter <psychon@znc.in>","Uli Schlachter"]],"repo":"znc/znc","actor":"psychon","ref":"refs/heads/master","size":4,"head":"cb2e50a5bd79697c3299d50d5e2596821d87fa62","actor_gravatar":"c58a33959a09e8b9629a8944fc7da76f","push_id":25157539}