summaryrefslogtreecommitdiffstats
path: root/vendor/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/plugins')
-rw-r--r--vendor/plugins/ruby-net-ldap-0.0.4/lib/net/ber.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/plugins/ruby-net-ldap-0.0.4/lib/net/ber.rb b/vendor/plugins/ruby-net-ldap-0.0.4/lib/net/ber.rb
index e76100656..6589415dc 100644
--- a/vendor/plugins/ruby-net-ldap-0.0.4/lib/net/ber.rb
+++ b/vendor/plugins/ruby-net-ldap-0.0.4/lib/net/ber.rb
@@ -68,7 +68,7 @@ module Net
# this can throw TypeErrors and other nasties.
#
def read_ber syntax=nil
- return nil if eof?
+ return nil if (StringIO == self.class) and eof?
id = getc # don't trash this value, we'll use it later
tag = id & 31