diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-02-10 08:58:54 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-02-10 08:58:54 +0000 |
commit | d6a80e795a64c91244f1d2a96763f5c41e9722ff (patch) | |
tree | 614df5aa859cf0caa594e7b00cf95c0d874cdc98 | |
parent | 8352107a0fd9e57a40fd948793d1daac7b66bf1a (diff) |
Ahem. Rename usermodes plugin to modes plugin :D. Are we done with this yet?
-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]") |