summaryrefslogtreecommitdiff
path: root/lib/rbot/ircsocket.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rbot/ircsocket.rb')
-rw-r--r--lib/rbot/ircsocket.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/ircsocket.rb b/lib/rbot/ircsocket.rb
index 6b49cf00..53182195 100644
--- a/lib/rbot/ircsocket.rb
+++ b/lib/rbot/ircsocket.rb
@@ -472,7 +472,7 @@ module Irc
if @sock.nil?
error "SEND attempted on closed socket"
else
- @sock.puts(message + "\n",0)
+ @sock.puts message
@last_send = Time.new
@flood_send += message.irc_send_penalty if penalty
@lines_sent += 1