]> git.donarmstrong.com Git - infobot.git/commitdiff
was opening sql debug file for read, not write. typo
authordms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Sun, 10 Sep 2000 14:40:31 +0000 (14:40 +0000)
committerdms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Sun, 10 Sep 2000 14:40:31 +0000 (14:40 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@84 c11ca15a-4712-0410-83d8-924469b57eb5

src/logger.pl

index dfb64e01b572a6e22bb1714716e23a8afe97fab2..cd94341d9d8a366e5fd7e33c04cd21fb05f2aef3 100644 (file)
@@ -315,7 +315,7 @@ sub status {
 }
 
 sub openSQLDebug {
-    if (!open(SQLDEBUG, $param{'SQLDebug'})) {
+    if (!open(SQLDEBUG, ">>$param{'SQLDebug'}")) {
        &ERROR("cannot open $param{'SQLDebug'}...");
        delete $param{'SQLDebug'};
        return 0;