lib/dazeus/event/whois.rb in dazeus-0.0.1.201306161619 vs lib/dazeus/event/whois.rb in dazeus-0.0.1.201306161750
- old
+ new
@@ -1,9 +1,16 @@
require 'dazeus/event/event'
module Dazeus
module Event
class Whois < Event
-
+ attr_accessor :network, :server, :nick, :secure
+ def post_init
+ super
+ @network = @params[0]
+ @server = @params[1]
+ @nick = @params[2]
+ @secure = @params[3]
+ end
end
end
end