diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/server/scripts/Commands/cs_list.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/scripts/Commands/cs_list.cpp b/src/server/scripts/Commands/cs_list.cpp index 746956581a6..5c16a0963d3 100644 --- a/src/server/scripts/Commands/cs_list.cpp +++ b/src/server/scripts/Commands/cs_list.cpp @@ -80,7 +80,7 @@ public: char* countStr = strtok(NULL, " "); uint32 count = countStr ? atol(countStr) : 10; - if (count < 0) + if (count == 0) return false; QueryResult result; @@ -152,7 +152,7 @@ public: char* countStr = strtok(NULL, " "); uint32 count = countStr ? atol(countStr) : 10; - if (count < 0) + if (count == 0) return false; PreparedQueryResult result; @@ -369,7 +369,7 @@ public: char* countStr = strtok(NULL, " "); uint32 count = countStr ? atol(countStr) : 10; - if (count < 0) + if (count == 0) return false; QueryResult result; |