summaryrefslogtreecommitdiff
path: root/lib/rbot/botuser.rb
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-07-14 00:57:43 +0200
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-07-14 00:57:43 +0200
commit9a1cf6a11b12c06cd925dd6a789ec98fe750c8ad (patch)
treec200c84b4ba8cede211b8b646130cf8edf4e20c6 /lib/rbot/botuser.rb
parentc9bd2bc721a22827710d1a2060ac0c0492cf0b67 (diff)
* use to_irc_netmask(:force => true) to unlink Netmasks from their Server to prevent errors when dumping users
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)