mirror of
https://github.com/moparisthebest/Yaaic
synced 2024-11-15 13:35:09 -05:00
IRCConnection: autoJoinChannels is now an ArrayList<String>
This commit is contained in:
parent
03fb5b882c
commit
a05d8ee08b
@ -20,6 +20,7 @@ along with Yaaic. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
*/
|
*/
|
||||||
package org.yaaic.irc;
|
package org.yaaic.irc;
|
||||||
|
|
||||||
|
import java.util.ArrayList;
|
||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
import java.util.Vector;
|
import java.util.Vector;
|
||||||
|
|
||||||
@ -49,7 +50,7 @@ public class IRCConnection extends PircBot
|
|||||||
{
|
{
|
||||||
private IRCService service;
|
private IRCService service;
|
||||||
private Server server;
|
private Server server;
|
||||||
private String[] autojoinChannels;
|
private ArrayList<String> autojoinChannels;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a new connection
|
* Create a new connection
|
||||||
@ -95,7 +96,7 @@ public class IRCConnection extends PircBot
|
|||||||
*
|
*
|
||||||
* @param channels
|
* @param channels
|
||||||
*/
|
*/
|
||||||
public void setAutojoinChannels(String[] channels)
|
public void setAutojoinChannels(ArrayList<String> channels)
|
||||||
{
|
{
|
||||||
autojoinChannels = channels;
|
autojoinChannels = channels;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user