Current Maintainer (1.98 and above):
Clinton Ebadi <clinton@unknownlamer.org>
-unknown_lamer on OpenProjects and OFTC
+unknown_lamer on Freenode and OFTC
Patches by:
Jos Hulzink
-Dale Smith (Documentation, Detailed Error Reporting)
\ No newline at end of file
+Dale Smith (Documentation, Detailed Error Reporting)
+
+Help by:
+Stelz (for finding all of the corner cases I never run into)
\ No newline at end of file
2006-06-28 Clinton Ebadi <clinton@unknownlamer.org>
+ * scripts/uname: redelim -> rdelim
+
* Release: 2.2.2
+ * AUTHORS: Added Stelz to the Help by section
+
+ * source/Bot.C (readConfig): If a logfile starting in / is found
+ the logdir should be set to all but the last part of the filename,
+ and the logfile set to the last part to avoid breaking script
+ logging
+
* scripts/bobot-utils.scm (bot:match-not-channel): Removed space
in regex so it works on freenode again
;;; -*- scheme -*-
(use-modules (ice-9 popen)
- (ice-9 redelim))
+ (ice-9 rdelim))
(define (uname c)
(let* ((p (open-input-pipe "/bin/uname -a"))
{
if (parameters[(unsigned int)0] == '/')
{
- set_log_dir ("/");
- set_log_file (parameters.subString (1));
+ StringTokenizer log_st (parameters);
+ std::string log_dir = "/";
+
+ for (unsigned int m = log_st.count_tokens ('/');
+ --m;
+ m > 0)
+ {
+ log_dir += log_st.next_token ('/') + "/";
+ }
+
+ std::cerr << "==" << log_dir << std::endl;
+
+ set_log_dir (log_dir);
+ set_log_file (log_st.rest ());
}
else
set_log_file (parameters);