aboutsummaryrefslogtreecommitdiff
path: root/src/Channel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Channel.cpp')
-rw-r--r--src/Channel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Channel.cpp b/src/Channel.cpp
index f67eb4c..0bacbc3 100644
--- a/src/Channel.cpp
+++ b/src/Channel.cpp
@@ -196,10 +196,10 @@ namespace dchat
}
}
- void Channel::processEvent(const sf::Event &event)
+ void Channel::processEvent(const sf::Event &event, Cache &cache)
{
- chatbar.processEvent(event, this);
- messageBoard.processEvent(event);
+ chatbar.processEvent(event, cache, this);
+ messageBoard.processEvent(event, cache);
}
void Channel::draw(sf::RenderWindow &window, Cache &cache)