Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit d0da50892642f686d38aeb35697d1840b9eec9ad 1 parent dd9b49b
Jan Moringen authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 obby/rudel-obby-server.el
4 obby/rudel-obby-server.el
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.