summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
-rw-r--r--ext/win32/lib/win32/sspi.rb9
1 files changed, 6 insertions, 3 deletions
@@ -202,10 +202,13 @@ module Win32
end
def ==(other)
- if other.is_a?(SSPIResult)
@value == other.value
- elsif other.is_a?(Integer)
- @value == @@map[other]
else
false
end