summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Gerus <arachnist@i.am-a.cat>2014-03-25 18:11:04 +0100
committerRobert Gerus <arachnist@i.am-a.cat>2014-03-25 18:11:04 +0100
commit951950a7b2eb00ecf11045e6a58b5e45c7e43698 (patch)
tree4d4d59dc6a44217936ac29d5a6260fd6d7783237
parent29093d92b7cfd9531d167a1b7c990bc7632ecbeb (diff)
downloadrepost-951950a7b2eb00ecf11045e6a58b5e45c7e43698.tar.gz
repost-951950a7b2eb00ecf11045e6a58b5e45c7e43698.tar.bz2
repost-951950a7b2eb00ecf11045e6a58b5e45c7e43698.tar.xz
repost-951950a7b2eb00ecf11045e6a58b5e45c7e43698.zip
fix!
-rw-r--r--repost.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/repost.rb b/repost.rb
index d01cffd..b8e7bb3 100644
--- a/repost.rb
+++ b/repost.rb
@@ -3,7 +3,7 @@ class Repost < EventMachine::IRC::Client
attr_accessor :triggers
def dispatch_raw_message(message = {})
- return if Config[:ignore].includes?(message[:prefix])
+ return if Config[:ignore].include?(message[:prefix])
self.triggers.each do |trigger|
# Having per-command lists of blocks of code to call would be
# faster, but it's not a problem for now. Might refactor this loop