package net.pterodactylus.xdcc.core;
+import static net.pterodactylus.irc.util.MessageCleaner.getDefaultInstance;
import static net.pterodactylus.xdcc.data.Channel.TO_NETWORK;
import static net.pterodactylus.xdcc.data.Download.FILTER_RUNNING;
import net.pterodactylus.irc.event.PrivateMessageReceived;
import net.pterodactylus.irc.event.PrivateNoticeReceived;
import net.pterodactylus.irc.event.ReplyReceived;
-import net.pterodactylus.irc.util.MessageCleaner;
import net.pterodactylus.irc.util.RandomNickname;
import net.pterodactylus.xdcc.core.event.BotAdded;
import net.pterodactylus.xdcc.core.event.CoreStarted;
*/
@Subscribe
public void channelMessageReceived(ChannelMessageReceived channelMessageReceived) {
- String message = MessageCleaner.getDefaultInstance().clean(channelMessageReceived.message());
+ String message = getDefaultInstance().clean(channelMessageReceived.message());
if (!message.startsWith("#")) {
/* most probably not a pack announcement. */
return;