From 6f9bfa43ac907700fcba394e0f6b9d987b1192fb Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Tue, 4 Mar 2008 18:24:57 +0100 Subject: Unixify all line endings. Some files had DOS-style line endings. Change all of them to Unix-style. --- lib/rbot/plugins/opmeh.rb | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'lib/rbot/plugins') diff --git a/lib/rbot/plugins/opmeh.rb b/lib/rbot/plugins/opmeh.rb index 2776de60..0702c906 100644 --- a/lib/rbot/plugins/opmeh.rb +++ b/lib/rbot/plugins/opmeh.rb @@ -1,19 +1,19 @@ -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") +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