[[project @ 2006-06-28 19:24:36 by unknown_lamer] unknown_lamer**20060628192436 - If the log directory does not exist the bot creates it - If there are lines with only whitespace on them in the config file and error message is no longer printed to the log - Released 2.2.1 ] { hunk ./COPYING 5 - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA hunk ./ChangeLog 1 +2006-06-28 Clinton Ebadi + + * source/Bot.C (set_log_dir): Create directory if it doesn't exist + (readConfig): Catch case of a line consisting of spaces and don't + print and error message + hunk ./NEWS 25 + +Version 2.2.1 (2006-06-28): +- If the log directory does not exist the bot creates it +- If there are lines with only whitespace on them in the config file + and error message is no longer printed to the log hunk ./configure.ac 4 -AC_INIT([Bobot++], [2.2.0], [clinton@unknownlamer.org], [bobotpp]) +AC_INIT([Bobot++], [2.2.1], [clinton@unknownlamer.org], [bobotpp]) hunk ./source/Bot.C 26 +#include hunk ./source/Bot.C 29 +#include hunk ./source/Bot.C 310 + else if (command == "") + { + // do nothing + } hunk ./source/Bot.C 742 + + DIR *temp = opendir (logs_dir); + + if (!temp) + { + mkdir (logs_dir, S_IRWXU); + } + else + { + closedir (temp); + } }