mirror of
https://github.com/yarrick/iodine.git
synced 2025-01-12 19:09:30 +00:00
Remove test conditional that will always evaluate to false.
This commit is contained in:
parent
031953e295
commit
ce3671a320
|
@ -192,7 +192,7 @@ user_set_conn_type(int userid, enum connection c)
|
||||||
if (userid < 0 || userid >= usercount)
|
if (userid < 0 || userid >= usercount)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (c < 0 || c >= CONN_MAX)
|
if (c >= CONN_MAX)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
users[userid].conn = c;
|
users[userid].conn = c;
|
||||||
|
|
Loading…
Reference in a new issue