summaryrefslogtreecommitdiff
path: root/lib/rbot
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rbot')
-rw-r--r--lib/rbot/ircbot.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/ircbot.rb b/lib/rbot/ircbot.rb
index f04cb480..9317fd4d 100644
--- a/lib/rbot/ircbot.rb
+++ b/lib/rbot/ircbot.rb
@@ -914,7 +914,7 @@ class Bot
@socket.connect
@last_rec = Time.now
rescue => e
- raise e.class, "failed to connect to IRC server at #{@socket.server_uri}: " + e
+ raise e.class, "failed to connect to IRC server at #{@socket.server_uri}: #{e}"
end
quit if $interrupted > 0