Skip to content

Commit

Permalink
Clearer SSL connection message.
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaneMcC committed Feb 17, 2019
1 parent 2450996 commit 7a5b486
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion modules/sockets
6 changes: 3 additions & 3 deletions src/com/dfbnc/sockets/UserSocket.java
Expand Up @@ -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");
}
}

Expand Down Expand Up @@ -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; }

Expand Down

0 comments on commit 7a5b486

Please sign in to comment.