invert is_nick_available lol
This commit is contained in:
parent
ec0deb9667
commit
0cabfe5dc1
|
@ -8,7 +8,7 @@ let make () =
|
|||
channels = Hashtbl.create 4096 }
|
||||
|
||||
let is_nick_available t nick =
|
||||
Hashtbl.mem t.users (string_ci nick)
|
||||
not (Hashtbl.mem t.users (string_ci nick))
|
||||
|
||||
let find_user t nick =
|
||||
Hashtbl.find t.users (string_ci nick)
|
||||
|
|
Loading…
Reference in New Issue