summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-01-30 09:35:23 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-01-30 09:35:23 +0000
commitcbb8c6037733c7d3041da04fda320e92a8415bbc (patch)
tree885cf57b9f6a5e21e20e4876b094cb143983a7ad /data
parent05656f15627617ef35bb73c94a021d789d393e7b (diff)
Better debugging when bans errors out
Diffstat (limited to 'data')
-rw-r--r--data/rbot/plugins/bans.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/data/rbot/plugins/bans.rb b/data/rbot/plugins/bans.rb
index 03fe2f34..3570ec35 100644
--- a/data/rbot/plugins/bans.rb
+++ b/data/rbot/plugins/bans.rb
@@ -203,6 +203,7 @@ class BansPlugin < Plugin
m.okay
rescue
+ error $!
m.reply $!
end
end
@@ -236,6 +237,7 @@ class BansPlugin < Plugin
autos.delete rule if rule.host == host
}
rescue
+ error $!
m.reply $!
end
end
@@ -301,6 +303,7 @@ class BansPlugin < Plugin
m.okay
rescue
+ error $!
m.reply $!
end
end
@@ -334,6 +337,7 @@ class BansPlugin < Plugin
wl.delete rule if rule.host == host
}
rescue
+ error $!
m.reply $!
end
end
@@ -350,6 +354,7 @@ class BansPlugin < Plugin
return channel
rescue
+ error $!
m.reply $!
end
end