Permalink
Browse files

Modded the SSL socket factory to add unconnected socket constructor, …

…Build CraftIRC 2.0 Preview 3a
  • Loading branch information...
1 parent 679d059 commit d84bb47a95ee90fe4b92634bb3b5eaed6663ff43 @Animosity committed Feb 28, 2011
Showing with 10 additions and 1 deletion.
  1. BIN beta/preview/CraftIRC.jar
  2. +9 −0 org/jibble/pircbot/TrustingSSLSocketFactory.java
  3. +1 −1 plugin.yml
View
BIN beta/preview/CraftIRC.jar
Binary file not shown.
View
9 org/jibble/pircbot/TrustingSSLSocketFactory.java
@@ -65,6 +65,15 @@ public TrustingSSLSocketFactory() throws SSLException {
/*
* (non-Javadoc)
+ * @see javax.net.SocketFactory#createSocket()
+ */
+ @Override
+ public Socket createSocket() throws IOException, UnknownHostException {
+ return prepare((SSLSocket)factory.createSocket());
+ }
+
+ /*
+ * (non-Javadoc)
* @see javax.net.SocketFactory#createSocket(java.lang.String, int)
*/
@Override
View
2 plugin.yml
@@ -1,6 +1,6 @@
name: CraftIRC
main: com.ensifera.animosity.craftirc.CraftIRC
-version: 2.0 Preview 3
+version: 2.0 Preview 3a
commands:
irc:
description: Sends a message to all IRC channels

0 comments on commit d84bb47

Please sign in to comment.