Permalink
Browse files

Only positive integers in rudel-obby-server::next-{client,user}-id

* obby/rudel-obby-server.el (rudel-obby-server::next-client-id):
  restrict values to positive numbers
  (rudel-obby-server::next-user-id): restrict values to positive
  numbers
  • Loading branch information...
1 parent dd9b49b commit d0da50892642f686d38aeb35697d1840b9eec9ad @scymtym committed Jun 15, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 obby/rudel-obby-server.el
@@ -663,13 +663,13 @@ connections to this server.")
"List of objects representing clients
connected to the server.")
(next-client-id :initarg :next-client-id
- :type integer
+ :type (integer 1)
:initform 1
:documentation
"An id that will be assigned to the next
client that connects to the server.")
(next-user-id :initarg :next-user-id
- :type integer
+ :type (integer 1)
:initform 1
:documentation
"An id that will be assigned to the next user

0 comments on commit d0da508

Please sign in to comment.