From 509ea8614c7ee37ae480ba7d52c583045b0c807c Mon Sep 17 00:00:00 2001 From: Shish Date: Fri, 8 May 2009 04:41:03 -0700 Subject: [PATCH] no need for formatting --- core/event.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/event.class.php b/core/event.class.php index 6c33afb0..11277031 100644 --- a/core/event.class.php +++ b/core/event.class.php @@ -117,7 +117,7 @@ class LogEvent extends Event { $username = $context->user->name; $ip = $_SERVER['REMOTE_ADDR']; $fp = fopen("shimmie.log", "a"); - fprintf($fp, "$ftime\t$section/$priority\t$username/$ip\t$message\n"); + fputs($fp, "$ftime\t$section/$priority\t$username/$ip\t$message\n"); fclose($fp); } }