summaryrefslogtreecommitdiff
path: root/components/stream.rb
diff options
context:
space:
mode:
Diffstat (limited to 'components/stream.rb')
-rw-r--r--components/stream.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/stream.rb b/components/stream.rb
index 347eb87..73da8b0 100644
--- a/components/stream.rb
+++ b/components/stream.rb
@@ -13,9 +13,9 @@ module NanoBot
@accumulated = "#{@accumulated.force_encoding('UTF-8')}#{args.first.force_encoding('UTF-8')}"
end
- @callback.call(@accumulated, args.first, false)
+ @callback.call(@accumulated, args.first, false, args[1])
end
- super
+ super(args.first)
end
def callback=(block)