summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/rbot/plugins/linkbot.rb2
-rw-r--r--data/rbot/plugins/urban.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/data/rbot/plugins/linkbot.rb b/data/rbot/plugins/linkbot.rb
index a47f4b49..f36aa919 100644
--- a/data/rbot/plugins/linkbot.rb
+++ b/data/rbot/plugins/linkbot.rb
@@ -60,7 +60,7 @@ class LinkBot < Plugin
# strip any formatting codes in the new_nick. some people configure their linkbots
# to embed these codes in nicknames (such as to\B\Bm), to avoid triggering the
# person's highlight
- new_nick.gsub! /[#{Bold}#{Underline}#{Reverse}#{Italic}#{NormalText}]/, ''
+ new_nick.gsub!(/[#{Bold}#{Underline}#{Reverse}#{Italic}#{NormalText}]/, '')
debug "#{m.sourcenick} reports that #{new_nick} said #{message.inspect} on #{network}"
# One way to pass the new message back to the bot is to create a PrivMessage
# and delegate it to the plugins
diff --git a/data/rbot/plugins/urban.rb b/data/rbot/plugins/urban.rb
index 5aae26c6..98066e60 100644
--- a/data/rbot/plugins/urban.rb
+++ b/data/rbot/plugins/urban.rb
@@ -32,7 +32,7 @@ class UrbanPlugin < Plugin
total ||= rv.size
- return m.reply "#{Bold}#{word}#{Bold} not found" if rv.empty?
+ return m.reply("#{Bold}#{word}#{Bold} not found") if rv.empty?
if notfound
suggestions = rv.map { |s| Underline + s[1] + Underline }.uniq.join ', '