X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fnet%2Fpterodactylus%2Ffcp%2FFcpConnectionHandler.java;h=d22e279bd737cb5e9ef56a97d9a59d82d5f607a5;hb=e0d4c56493b97a16514ca865cad0ae42a2d8a5a2;hp=59925e69fbcb385b55e37d06929e03c9efb931df;hpb=5b5f05fc45ef4c965f96a1bfe97dbecff37b0606;p=jFCPlib.git diff --git a/src/net/pterodactylus/fcp/FcpConnectionHandler.java b/src/net/pterodactylus/fcp/FcpConnectionHandler.java index 59925e6..d22e279 100644 --- a/src/net/pterodactylus/fcp/FcpConnectionHandler.java +++ b/src/net/pterodactylus/fcp/FcpConnectionHandler.java @@ -1,6 +1,5 @@ /* - * jSite2 - FcpConnectionHandler.java - - * Copyright © 2008 David Roden + * jFCPlib - FcpConnectionHandler.java - Copyright © 2008 David Roden * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -83,7 +82,7 @@ class FcpConnectionHandler implements Runnable { fcpMessage = new FcpMessage(line); continue; } - if ("EndMessage".equals(line) || "Data".equals(line)) { + if ("EndMessage".equalsIgnoreCase(line) || "Data".equalsIgnoreCase(line)) { fcpConnection.handleMessage(fcpMessage); fcpMessage = null; }