From 21949774b91eaec6ecde4eaa8ad121e2c0a36b87 Mon Sep 17 00:00:00 2001 From: Tom Gilbert Date: Wed, 27 Jul 2005 15:59:13 +0000 Subject: rearrange repo for packaging --- rbot/plugins/opmeh.rb | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 rbot/plugins/opmeh.rb (limited to 'rbot/plugins/opmeh.rb') diff --git a/rbot/plugins/opmeh.rb b/rbot/plugins/opmeh.rb deleted file mode 100644 index 2776de60..00000000 --- a/rbot/plugins/opmeh.rb +++ /dev/null @@ -1,19 +0,0 @@ -class OpMehPlugin < Plugin - - def help(plugin, topic="") - return "opmeh => grant user ops in " - end - - def privmsg(m) - if(m.params) - channel = m.params - else - channel = m.channel - end - target = m.sourcenick - @bot.sendq("MODE #{channel} +o #{target}") - m.okay - end -end -plugin = OpMehPlugin.new -plugin.register("opmeh") -- cgit v1.2.3