mirror of
https://github.com/moparisthebest/Yaaic
synced 2024-11-26 19:02:17 -05:00
PircBot Patch: Added setUseSSL()
This commit is contained in:
parent
ae08daf81a
commit
4677317507
@ -249,6 +249,17 @@ public abstract class PircBot implements ReplyConstants {
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Set wether SSL should be used to connect to the server
|
||||
*
|
||||
* @author Sebastian Kaspari <sebastian@yaaic.org>
|
||||
*/
|
||||
public void setUseSSL(boolean useSSL)
|
||||
{
|
||||
_useSSL = useSSL;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* This method disconnects from the server cleanly by calling the
|
||||
* quitServer() method. Providing the PircBot was connected to an
|
||||
@ -3010,6 +3021,8 @@ public abstract class PircBot implements ReplyConstants {
|
||||
|
||||
// Default settings for the PircBot.
|
||||
private boolean _autoNickChange = false;
|
||||
private boolean _useSSL = false;
|
||||
|
||||
private String _name = "PircBot";
|
||||
private String _nick = _name;
|
||||
private String _login = "PircBot";
|
||||
|
Loading…
Reference in New Issue
Block a user