summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorMatthias H <apoc@sixserv.org>2014-02-21 20:21:02 +0100
committerMatthias H <apoc@sixserv.org>2014-02-21 20:21:02 +0100
commit352b7d4551ba0a693b706594866cb2aaeb7a94ac (patch)
treebdaa2c84954cfe7c7f44f899c5e41e22bd8b9da5 /data
parentba5aaf073e5467b0b71adede32051f9b38c50a19 (diff)
[remote] removed due to security concerns
Diffstat (limited to 'data')
-rw-r--r--data/rbot/plugins/remotectl.rb29
1 files changed, 0 insertions, 29 deletions
diff --git a/data/rbot/plugins/remotectl.rb b/data/rbot/plugins/remotectl.rb
deleted file mode 100644
index 31d48fe3..00000000
--- a/data/rbot/plugins/remotectl.rb
+++ /dev/null
@@ -1,29 +0,0 @@
-#-- vim:sw=4:et
-#++
-#
-# :title: RemoteCtl plugin
-#
-# Author:: jsn (dmitry kim) <dmitry dot kim at gmail dot org>
-# Copyright:: (C) 2007 dmitry kim
-# License:: in public domain
-#
-# Adds druby remote command execution to rbot. See 'bin/rbot-remote' for
-# example usage.
-
-class RemoteCtlPlugin < Plugin
- include RemotePlugin
-
- def remote_command(m, params)
- s = params[:string].to_s
- u = @bot.server.user("remote:#{m.source.username}")
- @bot.auth.login(u, m.source.username, m.source.password)
- fake_message(s, :source => u)
- end
-end
-
-me = RemoteCtlPlugin.new
-
-me.remote_map 'dispatch *string',
- :action => 'remote_command'
-
-me.default_auth('*', false)