Don't allow a group to be a member of itself.

434542
This commit is contained in:
Rob Crittenden
2008-02-22 15:40:21 -05:00
parent 44797e3917
commit 02d3c5aff3
2 changed files with 10 additions and 1 deletions

View File

@@ -138,6 +138,11 @@ INPUT_INVALID_PARAMETER = gen_error_code(
0x0001,
"Invalid parameter(s)")
INPUT_SAME_GROUP = gen_error_code(
INPUT_CATEGORY,
0x0002,
"You can't add a group to itself")
#
# Connection errors
#