{"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"],["ebd7e53d7f4153be6862e6c4c078e1d9de5a5a66","346c0ad49ac8427b61b3b55abbe37dc0ebd524f2@znc.in","Add a generic command handling to CModule\n\nWith this, modules can use AddCommand() to register commands. CModule will\ndispatch all calls to OnModCommand() to the correct command handler.\n\nIf a module calls AddHelpCommand(), it will also generate help output.\n\nSigned-off-by: Uli Schlachter <psychon@znc.in>","Uli Schlachter"],["8e59fb957c329851cc1052de6f07804815568d9b","346c0ad49ac8427b61b3b55abbe37dc0ebd524f2@znc.in","Add CModule::OnUnknownModCommand()\n\nThis module hook is called to generate messages for unknown commands. This hook\nhas a default implementation that actually does something!\n\nSigned-off-by: Uli Schlachter <psychon@znc.in>","Uli Schlachter"],["31bbffa579962609484969480f2dc1b1bbe7229d","346c0ad49ac8427b61b3b55abbe37dc0ebd524f2@znc.in","Convert admin to the new CModCommand interface\n\nSigned-off-by: Uli Schlachter <psychon@znc.in>","Uli Schlachter"]],"repo":"DarthGandalf/znc","actor":"DarthGandalf","ref":"refs/heads/master","size":7,"head":"31bbffa579962609484969480f2dc1b1bbe7229d","actor_gravatar":"144789b2f306411504583699bd0159d2","push_id":25263180}