import net.pterodactylus.irc.Connection;
import net.pterodactylus.irc.ConnectionBuilder;
+import net.pterodactylus.irc.DccReceiver;
import net.pterodactylus.irc.event.ChannelMessageReceived;
import net.pterodactylus.irc.event.ConnectionEstablished;
import net.pterodactylus.irc.util.MessageCleaner;
/** The currently known bots. */
private final Table<Network, String, Bot> networkBots = HashBasedTable.create();
+ /** The current DCC receivers. */
+ private final Collection<DccReceiver> dccReceivers = Sets.newHashSet();
+
/**
* Creates a new core.
*
return networkBots.values();
}
+ /**
+ * Returns the currently active DCC receivers.
+ *
+ * @return The currently active DCC receivers
+ */
+ public Collection<DccReceiver> dccReceivers() {
+ return dccReceivers;
+ }
+
//
// ACTIONS
//