Skip to content
Permalink
Browse files

Clearer SSL connection message.

  • Loading branch information...
ShaneMcC committed Feb 17, 2019
1 parent 2450996 commit 7a5b486769681ee6a816a8aa91093ca195ed7008
Showing with 4 additions and 4 deletions.
  1. +1 −1 modules/sockets
  2. +3 −3 src/com/dfbnc/sockets/UserSocket.java
@@ -471,9 +471,9 @@ public void sendLine(final IRCLine... lines) {
public void socketOpened() {
sendBotMessage("Welcome to DFBnc (%s)", DFBnc.getVersion());
if (isSSL) {
sendBotMessage("You are connected using SSL");
sendBotMessage("You are connected to an SSL Socket");
} else {
sendBotMessage("You are not connected using SSL");
sendBotMessage("You are not connected to an SSL Socket");
}
}

@@ -733,7 +733,7 @@ public void processLine(final String line) {

// Don't process any more lines if we are quitting.
if (isQuitting) { return; }

// Don't process overly-excessive (and technically invalid) lines.
if (line.length() > 2048) { return; }

0 comments on commit 7a5b486

Please sign in to comment.
You can’t perform that action at this time.