Skip to content

Commit

Permalink
Capitalise ERROR, stop saying all errors are connection errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Gregory authored and ShaneMcC committed Apr 14, 2010
1 parent 22ba3d0 commit a661d3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/uk/org/dataforce/dfbnc/Account.java
Expand Up @@ -391,7 +391,7 @@ public Config getConfig() {
*/
public void handlerDisconnected(final String reason) {
for (UserSocket socket : getUserSockets()) {
socket.sendLine("Error :Error connecting: " + reason, false);
socket.sendLine("ERROR : " + reason, false);
socket.close();
}
myConnectionHandler = null;
Expand Down
Expand Up @@ -847,7 +847,7 @@ public void onConnectError(final Parser tParser, final ParserError errorInfo) {
description = "Unknown error: " + exception.getMessage();
}
}
myAccount.handlerDisconnected(description);
myAccount.handlerDisconnected("Connection error: " + description);
}

/**
Expand Down

0 comments on commit a661d3d

Please sign in to comment.