aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2
diff options
context:
space:
mode:
authorHolger Zickner <[email protected]>2006-01-10 13:09:18 +0000
committerHolger Zickner <[email protected]>2006-01-10 13:09:18 +0000
commitd6ecdd94549e6d1114c235e31ba5e3f858cd6044 (patch)
treec28b167ed7aec70f502084ffa8424b36a66e1122 /src/jake2
parent4d8accf26a1c78d1fc47f01f50a79245684aa76f (diff)
remove '\\' check
Diffstat (limited to 'src/jake2')
-rw-r--r--src/jake2/game/Info.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jake2/game/Info.java b/src/jake2/game/Info.java
index 316e43c..80e9d6f 100644
--- a/src/jake2/game/Info.java
+++ b/src/jake2/game/Info.java
@@ -20,7 +20,7 @@
// Created on 27.12.2003 by RST.
-// $Id: Info.java,v 1.6 2005-12-27 21:02:31 salomo Exp $
+// $Id: Info.java,v 1.7 2006-01-10 13:09:18 hzi Exp $
package jake2.game;
@@ -132,7 +132,7 @@ public class Info {
* server's parsing.
*/
public static boolean Info_Validate(String s) {
- return !((s.indexOf('"') != -1) || (s.indexOf(';') != -1) || (s.indexOf('\\') != -1));
+ return !((s.indexOf('"') != -1) || (s.indexOf(';') != -1));
}
private static String fillspaces = " ";