summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-09-04 01:50:26 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-09-04 01:50:26 +0000
commitf5ae52f3cd7bb33c9b381256a74e0da222140215 (patch)
tree28b689af6acbad61d2e8d4e67d36c126f933ed13 /lib
parent1723c9f3bba1f3d7f5d6ccec9a8a4d5f36347344 (diff)
New Irc Framework: Netmask-to-Netmask conversion should offer a default server and casemap
Diffstat (limited to 'lib')
-rw-r--r--lib/rbot/irc.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/irc.rb b/lib/rbot/irc.rb
index c0fdff4b..6a0bb2a2 100644
--- a/lib/rbot/irc.rb
+++ b/lib/rbot/irc.rb
@@ -673,7 +673,7 @@ module Irc
if self.class == Netmask
return self if fits_with_server_and_casemap?(opts)
end
- return self.full_downcase.to_irc_netmask(opts)
+ return self.full_downcase.to_irc_netmask(server_and_casemap.merge(opts))
end
# Converts the receiver into a User with the given (optional)