summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/rbot/plugins/modes.rb (renamed from data/rbot/plugins/usermodes.rb)4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/rbot/plugins/usermodes.rb b/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 [<user>] [<channel>]' => grant user> (if ommitted yourself) ops in <channel> (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]")