IRCClient: Remove unused dump() logic

A 'FIXME' asked for this to be removed, so I did.
This commit is contained in:
Ben Wiederhake 2020-09-12 12:18:05 +02:00 committed by Andreas Kling
commit 83b85e5578
Notes: sideshowbarker 2024-07-19 02:44:02 +09:00
6 changed files with 1 additions and 25 deletions

View file

@ -77,14 +77,6 @@ void IRCChannel::add_message(const String& text, Color color)
window().did_add_message();
}
void IRCChannel::dump() const
{
printf("IRCChannel{%p}: %s\n", this, m_name.characters());
for (auto& member : m_members)
printf(" (%c)%s\n", member.prefix ? member.prefix : ' ', member.name.characters());
log().dump();
}
void IRCChannel::say(const String& text)
{
m_client.send_privmsg(m_name, text);