Remove experimental IRC support (#5547)
This commit is contained in:
@@ -9,8 +9,6 @@
|
||||
#include "messages/MessageElement.hpp"
|
||||
#include "providers/bttv/BttvEmotes.hpp"
|
||||
#include "providers/ffz/FfzEmotes.hpp"
|
||||
#include "providers/irc/IrcChannel2.hpp"
|
||||
#include "providers/irc/IrcServer.hpp"
|
||||
#include "providers/twitch/api/Helix.hpp"
|
||||
#include "providers/twitch/TwitchAccount.hpp"
|
||||
#include "providers/twitch/TwitchIrcServer.hpp"
|
||||
@@ -242,17 +240,6 @@ QString sendWhisper(const CommandContext &ctx)
|
||||
return "";
|
||||
}
|
||||
|
||||
// we must be on IRC
|
||||
auto *ircChannel = dynamic_cast<IrcChannel *>(ctx.channel.get());
|
||||
if (ircChannel == nullptr)
|
||||
{
|
||||
// give up
|
||||
return "";
|
||||
}
|
||||
|
||||
auto *server = ircChannel->server();
|
||||
server->sendWhisper(target, message);
|
||||
|
||||
return "";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user