From f5ae52f3cd7bb33c9b381256a74e0da222140215 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Tue, 4 Sep 2007 01:50:26 +0000 Subject: New Irc Framework: Netmask-to-Netmask conversion should offer a default server and casemap --- lib/rbot/irc.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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) -- cgit v1.2.3