summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Gerus <arachnist@i.am-a.cat>2015-04-14 17:01:06 +0200
committerRobert Gerus <arachnist@i.am-a.cat>2015-04-14 17:01:06 +0200
commita8eb42a0804302d3302a4708cfb6db4047720845 (patch)
tree2a5d2cedc07e91792ef41b631aebcc4ccc450e60
parenta1d4c856abbfac8e59f3a3cc4fbb29116b1cb6a7 (diff)
downloadrepost-a8eb42a0804302d3302a4708cfb6db4047720845.tar.gz
repost-a8eb42a0804302d3302a4708cfb6db4047720845.tar.bz2
repost-a8eb42a0804302d3302a4708cfb6db4047720845.tar.xz
repost-a8eb42a0804302d3302a4708cfb6db4047720845.zip
we require em-net-http everywhere anyway…
-rw-r--r--plugins/commands/at.rb1
-rw-r--r--plugins/commands/cycki.rb1
-rw-r--r--plugins/commands/gentoo-bugs.rb1
-rw-r--r--plugins/commands/kotki.rb1
-rw-r--r--plugins/commands/sjp.rb1
-rwxr-xr-xrun.rb1
6 files changed, 1 insertions, 5 deletions
diff --git a/plugins/commands/at.rb b/plugins/commands/at.rb
index a8c0a80..6e8b0c9 100644
--- a/plugins/commands/at.rb
+++ b/plugins/commands/at.rb
@@ -1,4 +1,3 @@
-require 'em-net-http'
require 'json'
require 'time'
diff --git a/plugins/commands/cycki.rb b/plugins/commands/cycki.rb
index 88456b7..1d36eef 100644
--- a/plugins/commands/cycki.rb
+++ b/plugins/commands/cycki.rb
@@ -1,4 +1,3 @@
-require 'em-net-http'
require 'nokogiri'
Client.register_command("cycki") { |args|
diff --git a/plugins/commands/gentoo-bugs.rb b/plugins/commands/gentoo-bugs.rb
index d1b5326..1869cdf 100644
--- a/plugins/commands/gentoo-bugs.rb
+++ b/plugins/commands/gentoo-bugs.rb
@@ -1,4 +1,3 @@
-require 'em-net-http'
require 'nokogiri'
Client.register_command("bug") { |args|
diff --git a/plugins/commands/kotki.rb b/plugins/commands/kotki.rb
index 0abaedf..165e25d 100644
--- a/plugins/commands/kotki.rb
+++ b/plugins/commands/kotki.rb
@@ -1,4 +1,3 @@
-require 'em-net-http'
require 'uri'
Client.register_command("kotki") { |args|
diff --git a/plugins/commands/sjp.rb b/plugins/commands/sjp.rb
index 1548b73..2ce50a2 100644
--- a/plugins/commands/sjp.rb
+++ b/plugins/commands/sjp.rb
@@ -1,4 +1,3 @@
-require 'em-net-http'
require 'nokogiri'
Client.register_command("sjp") { |args|
diff --git a/run.rb b/run.rb
index 81fa640..0ef1120 100755
--- a/run.rb
+++ b/run.rb
@@ -3,6 +3,7 @@
require 'rubygems'
require 'eventmachine'
+require 'em-net-http'
require 'em-irc'
require 'logger'
# Our config file is just a single Hash, nothing too fancy.