1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:48:10 +00:00

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
parent 8498a5678d
commit 83b85e5578
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);