From d1dd5d030fcb54e8a42ab99b93f6ca060e034c86 Mon Sep 17 00:00:00 2001 From: tjhunt Date: Fri, 24 Jul 2009 09:16:09 +0000 Subject: [PATCH] chat: Remove unnecessary call-time pass by reference. --- mod/chat/chatd.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/chat/chatd.php b/mod/chat/chatd.php index a721e68181..db6e851ef2 100755 --- a/mod/chat/chatd.php +++ b/mod/chat/chatd.php @@ -72,7 +72,7 @@ class ChatConnection { function ChatConnection($resource) { $this->handle = $resource; - @socket_getpeername($this->handle, &$this->ip, &$this->port); + @socket_getpeername($this->handle, $this->ip, $this->port); } } -- 2.39.5