From cbb8c6037733c7d3041da04fda320e92a8415bbc Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Tue, 30 Jan 2007 09:35:23 +0000 Subject: Better debugging when bans errors out --- data/rbot/plugins/bans.rb | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v1.2.3