Skip to content
Extraits de code Groupes Projets
Valider 148dfd1a rédigé par Alexandre Morignot's avatar Alexandre Morignot
Parcourir les fichiers

Log level fix

parent ae680f27
Aucune requête de fusion associée trouvée
GEM
remote: http://rubygems.org/
specs:
activerecord (2.3.14)
activesupport (= 2.3.14)
activesupport (2.3.14)
activerecord (1.6.0)
activesupport (3.2.11)
i18n (~> 0.6)
multi_json (~> 1.0)
builder (3.1.4)
diff-lcs (1.1.3)
faraday (0.8.4)
......@@ -16,6 +17,7 @@ GEM
multi_json (~> 1.0)
multi_xml
httpauth (0.2.0)
i18n (0.6.1)
jwt (0.1.5)
multi_json (>= 1.0)
multi_json (1.5.0)
......@@ -30,8 +32,8 @@ GEM
jwt (~> 0.1.4)
multi_json (~> 1.0)
rack (~> 1.2)
rack (1.4.1)
rake (0.9.2.2)
rack (1.4.3)
rake (10.0.3)
rspec (2.12.0)
rspec-core (~> 2.12.0)
rspec-expectations (~> 2.12.0)
......
......@@ -56,6 +56,21 @@ class PlayBot < IRCBot
@irc.on_msg self.method(:_in_msg)
end
# Overwrite IRCBot#connect_socket
#
# See <https://github.com/Nerdmaster/ruby-irc-yail/issues/9> for more informations.
def connect_socket
@irc = Net::YAIL.new(@options)
# THIS is the problem:
#setup_reporting(@irc)
# Simple hook for welcome to allow auto-joining of the channel
@irc.on_welcome self.method(:welcome)
add_custom_handlers
end
private
# Welcome event handler
#
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter