From 2a6978abd98a080b14de1ab0389fe681bac6c6fa Mon Sep 17 00:00:00 2001
From: Shish <shish@shishnet.org>
Date: Mon, 1 Feb 2010 18:25:54 +0000
Subject: [PATCH] log the right variable

---
 contrib/pm/main.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/pm/main.php b/contrib/pm/main.php
index ce71b2ff..9aef8ef3 100644
--- a/contrib/pm/main.php
+++ b/contrib/pm/main.php
@@ -149,7 +149,7 @@ class PrivMsg extends SimpleExtension {
 			array($event->pm->from_id, $event->pm->from_ip,
 			$event->pm->to_id, $event->pm->subject, $event->pm->message)
 		);
-		log_info("pm", "Sent PM to User #{$event->to_id}");
+		log_info("pm", "Sent PM to User #{$event->pm->to_id}");
 	}