From ee0f95cad20862d81a518bd2a92eb2e3144ad140 Mon Sep 17 00:00:00 2001
From: Benjamin Steephenson <benjaminsteephenson@gmail.com>
Date: Tue, 3 Mar 2015 09:59:07 -0500
Subject: [PATCH] docs:events clarify emitter.listener() behavior

Clarifies that emitter.listener() returns a copy, not a reference
Resolves issue #9022

Reviewed-By: James M Snell <jasnell@gmail.com>
PR-URL: https://github.com/joyent/node/pull/25591
---
 doc/api/events.markdown | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/api/events.markdown b/doc/api/events.markdown
index a98eb5ed3fd5..857d5658bbd5 100644
--- a/doc/api/events.markdown
+++ b/doc/api/events.markdown
@@ -104,7 +104,7 @@ Note that `emitter.setMaxListeners(n)` still has precedence over
 
 ### emitter.listeners(event)
 
-Returns an array of listeners for the specified event.
+Returns a copy of the array of listeners for the specified event.
 
     server.on('connection', function (stream) {
       console.log('someone connected!');