aboutsummaryrefslogtreecommitdiff
path: root/core/irc.rb
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2014-04-20 06:57:31 -0700
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2014-04-20 06:57:31 -0700
commitc8ce5fa45fde0e2bd1b3e6f1a336d2853b242ff2 (patch)
tree77bf1a44fa623bec27f78dd7b352e06c00211225 /core/irc.rb
parentd439860ebd6915fdd2f52f66cb032106e55c4777 (diff)
downloaddinobot-c8ce5fa45fde0e2bd1b3e6f1a336d2853b242ff2.tar.gz
dinobot-c8ce5fa45fde0e2bd1b3e6f1a336d2853b242ff2.tar.xz
More abstraction in logger; fix bug in IRC gets.
Diffstat (limited to 'core/irc.rb')
-rw-r--r--core/irc.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/irc.rb b/core/irc.rb
index 0cde75d..fdb2ad7 100644
--- a/core/irc.rb
+++ b/core/irc.rb
@@ -35,6 +35,7 @@ module Dinobot
def gets
str = @socket.gets
+ str.chomp! unless str.nil?
@logger.in str.inspect