From d6a80e795a64c91244f1d2a96763f5c41e9722ff Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Sat, 10 Feb 2007 08:58:54 +0000 Subject: [PATCH] Ahem. Rename usermodes plugin to modes plugin :D. Are we done with this yet? --- data/rbot/plugins/{usermodes.rb => modes.rb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename data/rbot/plugins/{usermodes.rb => modes.rb} (98%) diff --git a/data/rbot/plugins/usermodes.rb b/data/rbot/plugins/modes.rb similarity index 98% rename from data/rbot/plugins/usermodes.rb rename to data/rbot/plugins/modes.rb index 5f6e9bff..9f2a4380 100644 --- a/data/rbot/plugins/usermodes.rb +++ b/data/rbot/plugins/modes.rb @@ -1,4 +1,4 @@ -class OpPlugin < Plugin +class ModesPlugin < Plugin def help(plugin, topic="") return "'op [] []' => grant user> (if ommitted yourself) ops in (or in the current channel if no channel is specified). Use deop instead of op to remove the privilege." @@ -97,7 +97,7 @@ class OpPlugin < Plugin end end -plugin = OpPlugin.new +plugin = ModesPlugin.new plugin.map("op [:user] [:channel]") plugin.map("opme [:channel]") # For backwards compatibility with 0.9.10 plugin.map("deop [:user] [:channel]") -- 2.39.5