lib/on_irc/event.rb in on_irc-2.0.1 vs lib/on_irc/event.rb in on_irc-2.1.0
- old
+ new
@@ -1,16 +1,16 @@
class IRC
class Event
- attr_accessor :server, :prefix, :command, :params
-
+ attr_accessor :server, :sender, :command, :params
+
def initialize(server, prefix, command, params)
@server = server
- @prefix = prefix
+ @sender = Sender.new(prefix)
@command = command
@params = params
end
-
-
+
+
end
end
module Kernel