Fixed probable clan notice bypass exploit.
This commit is contained in:
@@ -1218,7 +1218,7 @@ public class Clan implements IIdentifiable, INamable
|
||||
|
||||
public void setNoticeEnabled(boolean enabled)
|
||||
{
|
||||
storeNotice(_notice, enabled);
|
||||
storeNotice(getNotice(), enabled);
|
||||
}
|
||||
|
||||
public void setNotice(String notice)
|
||||
@@ -1237,6 +1237,14 @@ public class Clan implements IIdentifiable, INamable
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
// Bypass exploit check.
|
||||
final String text = _notice.toLowerCase();
|
||||
if (text.contains("action") && text.contains("bypass"))
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
return _notice;
|
||||
}
|
||||
|
||||
|
||||
@@ -1219,7 +1219,7 @@ public class Clan implements IIdentifiable, INamable
|
||||
|
||||
public void setNoticeEnabled(boolean enabled)
|
||||
{
|
||||
storeNotice(_notice, enabled);
|
||||
storeNotice(getNotice(), enabled);
|
||||
}
|
||||
|
||||
public void setNotice(String notice)
|
||||
@@ -1238,6 +1238,14 @@ public class Clan implements IIdentifiable, INamable
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
// Bypass exploit check.
|
||||
final String text = _notice.toLowerCase();
|
||||
if (text.contains("action") && text.contains("bypass"))
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
return _notice;
|
||||
}
|
||||
|
||||
|
||||
@@ -1219,7 +1219,7 @@ public class Clan implements IIdentifiable, INamable
|
||||
|
||||
public void setNoticeEnabled(boolean enabled)
|
||||
{
|
||||
storeNotice(_notice, enabled);
|
||||
storeNotice(getNotice(), enabled);
|
||||
}
|
||||
|
||||
public void setNotice(String notice)
|
||||
@@ -1238,6 +1238,14 @@ public class Clan implements IIdentifiable, INamable
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
// Bypass exploit check.
|
||||
final String text = _notice.toLowerCase();
|
||||
if (text.contains("action") && text.contains("bypass"))
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
return _notice;
|
||||
}
|
||||
|
||||
|
||||
@@ -1219,7 +1219,7 @@ public class Clan implements IIdentifiable, INamable
|
||||
|
||||
public void setNoticeEnabled(boolean enabled)
|
||||
{
|
||||
storeNotice(_notice, enabled);
|
||||
storeNotice(getNotice(), enabled);
|
||||
}
|
||||
|
||||
public void setNotice(String notice)
|
||||
@@ -1238,6 +1238,14 @@ public class Clan implements IIdentifiable, INamable
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
// Bypass exploit check.
|
||||
final String text = _notice.toLowerCase();
|
||||
if (text.contains("action") && text.contains("bypass"))
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
return _notice;
|
||||
}
|
||||
|
||||
|
||||
@@ -1129,7 +1129,7 @@ public class Clan implements IIdentifiable, INamable
|
||||
|
||||
public void setNoticeEnabled(boolean enabled)
|
||||
{
|
||||
storeNotice(_notice, enabled);
|
||||
storeNotice(getNotice(), enabled);
|
||||
}
|
||||
|
||||
public void setNotice(String notice)
|
||||
@@ -1148,6 +1148,14 @@ public class Clan implements IIdentifiable, INamable
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
// Bypass exploit check.
|
||||
final String text = _notice.toLowerCase();
|
||||
if (text.contains("action") && text.contains("bypass"))
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
return _notice;
|
||||
}
|
||||
|
||||
|
||||
@@ -1129,7 +1129,7 @@ public class Clan implements IIdentifiable, INamable
|
||||
|
||||
public void setNoticeEnabled(boolean enabled)
|
||||
{
|
||||
storeNotice(_notice, enabled);
|
||||
storeNotice(getNotice(), enabled);
|
||||
}
|
||||
|
||||
public void setNotice(String notice)
|
||||
@@ -1148,6 +1148,14 @@ public class Clan implements IIdentifiable, INamable
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
// Bypass exploit check.
|
||||
final String text = _notice.toLowerCase();
|
||||
if (text.contains("action") && text.contains("bypass"))
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
return _notice;
|
||||
}
|
||||
|
||||
|
||||
@@ -1129,7 +1129,7 @@ public class Clan implements IIdentifiable, INamable
|
||||
|
||||
public void setNoticeEnabled(boolean enabled)
|
||||
{
|
||||
storeNotice(_notice, enabled);
|
||||
storeNotice(getNotice(), enabled);
|
||||
}
|
||||
|
||||
public void setNotice(String notice)
|
||||
@@ -1148,6 +1148,14 @@ public class Clan implements IIdentifiable, INamable
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
// Bypass exploit check.
|
||||
final String text = _notice.toLowerCase();
|
||||
if (text.contains("action") && text.contains("bypass"))
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
return _notice;
|
||||
}
|
||||
|
||||
|
||||
@@ -1128,7 +1128,7 @@ public class Clan implements IIdentifiable, INamable
|
||||
|
||||
public void setNoticeEnabled(boolean enabled)
|
||||
{
|
||||
storeNotice(_notice, enabled);
|
||||
storeNotice(getNotice(), enabled);
|
||||
}
|
||||
|
||||
public void setNotice(String notice)
|
||||
@@ -1147,6 +1147,14 @@ public class Clan implements IIdentifiable, INamable
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
// Bypass exploit check.
|
||||
final String text = _notice.toLowerCase();
|
||||
if (text.contains("action") && text.contains("bypass"))
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
return _notice;
|
||||
}
|
||||
|
||||
|
||||
@@ -1128,7 +1128,7 @@ public class Clan implements IIdentifiable, INamable
|
||||
|
||||
public void setNoticeEnabled(boolean enabled)
|
||||
{
|
||||
storeNotice(_notice, enabled);
|
||||
storeNotice(getNotice(), enabled);
|
||||
}
|
||||
|
||||
public void setNotice(String notice)
|
||||
@@ -1147,6 +1147,14 @@ public class Clan implements IIdentifiable, INamable
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
// Bypass exploit check.
|
||||
final String text = _notice.toLowerCase();
|
||||
if (text.contains("action") && text.contains("bypass"))
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
return _notice;
|
||||
}
|
||||
|
||||
|
||||
@@ -1128,7 +1128,7 @@ public class Clan implements IIdentifiable, INamable
|
||||
|
||||
public void setNoticeEnabled(boolean enabled)
|
||||
{
|
||||
storeNotice(_notice, enabled);
|
||||
storeNotice(getNotice(), enabled);
|
||||
}
|
||||
|
||||
public void setNotice(String notice)
|
||||
@@ -1147,6 +1147,14 @@ public class Clan implements IIdentifiable, INamable
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
// Bypass exploit check.
|
||||
final String text = _notice.toLowerCase();
|
||||
if (text.contains("action") && text.contains("bypass"))
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
return _notice;
|
||||
}
|
||||
|
||||
|
||||
@@ -897,7 +897,7 @@ public class Clan
|
||||
|
||||
public void setNoticeEnabledAndStore(boolean enabled)
|
||||
{
|
||||
storeNotice(_notice, enabled);
|
||||
storeNotice(getNotice(), enabled);
|
||||
}
|
||||
|
||||
public void setNoticeAndStore(String notice)
|
||||
@@ -917,7 +917,19 @@ public class Clan
|
||||
|
||||
public String getNotice()
|
||||
{
|
||||
return (_notice == null) ? "" : _notice;
|
||||
if (_notice == null)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
// Bypass exploit check.
|
||||
final String text = _notice.toLowerCase();
|
||||
if (text.contains("action") && text.contains("bypass"))
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
return _notice;
|
||||
}
|
||||
|
||||
public void setNotice(String notice)
|
||||
|
||||
@@ -898,7 +898,7 @@ public class Clan
|
||||
|
||||
public void setNoticeEnabledAndStore(boolean enabled)
|
||||
{
|
||||
storeNotice(_notice, enabled);
|
||||
storeNotice(getNotice(), enabled);
|
||||
}
|
||||
|
||||
public void setNoticeAndStore(String notice)
|
||||
@@ -918,7 +918,19 @@ public class Clan
|
||||
|
||||
public String getNotice()
|
||||
{
|
||||
return (_notice == null) ? "" : _notice;
|
||||
if (_notice == null)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
// Bypass exploit check.
|
||||
final String text = _notice.toLowerCase();
|
||||
if (text.contains("action") && text.contains("bypass"))
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
return _notice;
|
||||
}
|
||||
|
||||
public void setNotice(String notice)
|
||||
|
||||
@@ -1200,7 +1200,7 @@ public class Clan implements IIdentifiable, INamable
|
||||
|
||||
public void setNoticeEnabled(boolean enabled)
|
||||
{
|
||||
storeNotice(_notice, enabled);
|
||||
storeNotice(getNotice(), enabled);
|
||||
}
|
||||
|
||||
public void setNotice(String notice)
|
||||
@@ -1215,7 +1215,19 @@ public class Clan implements IIdentifiable, INamable
|
||||
|
||||
public String getNotice()
|
||||
{
|
||||
return _notice == null ? "" : _notice;
|
||||
if (_notice == null)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
// Bypass exploit check.
|
||||
final String text = _notice.toLowerCase();
|
||||
if (text.contains("action") && text.contains("bypass"))
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
return _notice;
|
||||
}
|
||||
|
||||
private void restoreSkills()
|
||||
|
||||
@@ -1200,7 +1200,7 @@ public class Clan implements IIdentifiable, INamable
|
||||
|
||||
public void setNoticeEnabled(boolean enabled)
|
||||
{
|
||||
storeNotice(_notice, enabled);
|
||||
storeNotice(getNotice(), enabled);
|
||||
}
|
||||
|
||||
public void setNotice(String notice)
|
||||
@@ -1215,7 +1215,19 @@ public class Clan implements IIdentifiable, INamable
|
||||
|
||||
public String getNotice()
|
||||
{
|
||||
return _notice == null ? "" : _notice;
|
||||
if (_notice == null)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
// Bypass exploit check.
|
||||
final String text = _notice.toLowerCase();
|
||||
if (text.contains("action") && text.contains("bypass"))
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
return _notice;
|
||||
}
|
||||
|
||||
private void restoreSkills()
|
||||
|
||||
@@ -1219,7 +1219,7 @@ public class Clan implements IIdentifiable, INamable
|
||||
|
||||
public void setNoticeEnabled(boolean enabled)
|
||||
{
|
||||
storeNotice(_notice, enabled);
|
||||
storeNotice(getNotice(), enabled);
|
||||
}
|
||||
|
||||
public void setNotice(String notice)
|
||||
@@ -1238,6 +1238,14 @@ public class Clan implements IIdentifiable, INamable
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
// Bypass exploit check.
|
||||
final String text = _notice.toLowerCase();
|
||||
if (text.contains("action") && text.contains("bypass"))
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
return _notice;
|
||||
}
|
||||
|
||||
|
||||
@@ -1219,7 +1219,7 @@ public class Clan implements IIdentifiable, INamable
|
||||
|
||||
public void setNoticeEnabled(boolean enabled)
|
||||
{
|
||||
storeNotice(_notice, enabled);
|
||||
storeNotice(getNotice(), enabled);
|
||||
}
|
||||
|
||||
public void setNotice(String notice)
|
||||
@@ -1238,6 +1238,14 @@ public class Clan implements IIdentifiable, INamable
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
// Bypass exploit check.
|
||||
final String text = _notice.toLowerCase();
|
||||
if (text.contains("action") && text.contains("bypass"))
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
return _notice;
|
||||
}
|
||||
|
||||
|
||||
@@ -1219,7 +1219,7 @@ public class Clan implements IIdentifiable, INamable
|
||||
|
||||
public void setNoticeEnabled(boolean enabled)
|
||||
{
|
||||
storeNotice(_notice, enabled);
|
||||
storeNotice(getNotice(), enabled);
|
||||
}
|
||||
|
||||
public void setNotice(String notice)
|
||||
@@ -1238,6 +1238,14 @@ public class Clan implements IIdentifiable, INamable
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
// Bypass exploit check.
|
||||
final String text = _notice.toLowerCase();
|
||||
if (text.contains("action") && text.contains("bypass"))
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
return _notice;
|
||||
}
|
||||
|
||||
|
||||
@@ -1219,7 +1219,7 @@ public class Clan implements IIdentifiable, INamable
|
||||
|
||||
public void setNoticeEnabled(boolean enabled)
|
||||
{
|
||||
storeNotice(_notice, enabled);
|
||||
storeNotice(getNotice(), enabled);
|
||||
}
|
||||
|
||||
public void setNotice(String notice)
|
||||
@@ -1238,6 +1238,14 @@ public class Clan implements IIdentifiable, INamable
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
// Bypass exploit check.
|
||||
final String text = _notice.toLowerCase();
|
||||
if (text.contains("action") && text.contains("bypass"))
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
return _notice;
|
||||
}
|
||||
|
||||
|
||||
@@ -1219,7 +1219,7 @@ public class Clan implements IIdentifiable, INamable
|
||||
|
||||
public void setNoticeEnabled(boolean enabled)
|
||||
{
|
||||
storeNotice(_notice, enabled);
|
||||
storeNotice(getNotice(), enabled);
|
||||
}
|
||||
|
||||
public void setNotice(String notice)
|
||||
@@ -1238,6 +1238,14 @@ public class Clan implements IIdentifiable, INamable
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
// Bypass exploit check.
|
||||
final String text = _notice.toLowerCase();
|
||||
if (text.contains("action") && text.contains("bypass"))
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
return _notice;
|
||||
}
|
||||
|
||||
|
||||
@@ -1219,7 +1219,7 @@ public class Clan implements IIdentifiable, INamable
|
||||
|
||||
public void setNoticeEnabled(boolean enabled)
|
||||
{
|
||||
storeNotice(_notice, enabled);
|
||||
storeNotice(getNotice(), enabled);
|
||||
}
|
||||
|
||||
public void setNotice(String notice)
|
||||
@@ -1238,6 +1238,14 @@ public class Clan implements IIdentifiable, INamable
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
// Bypass exploit check.
|
||||
final String text = _notice.toLowerCase();
|
||||
if (text.contains("action") && text.contains("bypass"))
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
return _notice;
|
||||
}
|
||||
|
||||
|
||||
@@ -1219,7 +1219,7 @@ public class Clan implements IIdentifiable, INamable
|
||||
|
||||
public void setNoticeEnabled(boolean enabled)
|
||||
{
|
||||
storeNotice(_notice, enabled);
|
||||
storeNotice(getNotice(), enabled);
|
||||
}
|
||||
|
||||
public void setNotice(String notice)
|
||||
@@ -1238,6 +1238,14 @@ public class Clan implements IIdentifiable, INamable
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
// Bypass exploit check.
|
||||
final String text = _notice.toLowerCase();
|
||||
if (text.contains("action") && text.contains("bypass"))
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
return _notice;
|
||||
}
|
||||
|
||||
|
||||
@@ -1219,7 +1219,7 @@ public class Clan implements IIdentifiable, INamable
|
||||
|
||||
public void setNoticeEnabled(boolean enabled)
|
||||
{
|
||||
storeNotice(_notice, enabled);
|
||||
storeNotice(getNotice(), enabled);
|
||||
}
|
||||
|
||||
public void setNotice(String notice)
|
||||
@@ -1238,6 +1238,14 @@ public class Clan implements IIdentifiable, INamable
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
// Bypass exploit check.
|
||||
final String text = _notice.toLowerCase();
|
||||
if (text.contains("action") && text.contains("bypass"))
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
return _notice;
|
||||
}
|
||||
|
||||
|
||||
@@ -1240,7 +1240,7 @@ public class Clan implements IIdentifiable, INamable
|
||||
|
||||
public void setNoticeEnabled(boolean enabled)
|
||||
{
|
||||
storeNotice(_notice, enabled);
|
||||
storeNotice(getNotice(), enabled);
|
||||
}
|
||||
|
||||
public void setNotice(String notice)
|
||||
@@ -1259,6 +1259,14 @@ public class Clan implements IIdentifiable, INamable
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
// Bypass exploit check.
|
||||
final String text = _notice.toLowerCase();
|
||||
if (text.contains("action") && text.contains("bypass"))
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
return _notice;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user