summaryrefslogtreecommitdiff
path: root/lib/rbot/botuser.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rbot/botuser.rb')
-rw-r--r--lib/rbot/botuser.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/botuser.rb b/lib/rbot/botuser.rb
index a4bec708..8fa04fc5 100644
--- a/lib/rbot/botuser.rb
+++ b/lib/rbot/botuser.rb
@@ -461,7 +461,7 @@ class Bot
# Adds a Netmask
#
def add_netmask(mask)
- m = mask.to_irc_netmask
+ m = mask.to_irc_netmask(:server => nil,:force => true)
@netmasks << m
if self.autologin?
Auth.manager.maskdb.add(self, m)