fix User.is_registered !!

This commit is contained in:
tali 2024-01-23 13:46:48 -05:00
parent 4fca26cc8a
commit 7762c40a22
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ let set_nick t new_nick =
let register t ~router = Hashtbl.add router.users t.nick_key t let register t ~router = Hashtbl.add router.users t.nick_key t
let unregister t ~router = Hashtbl.remove router.users t.nick_key let unregister t ~router = Hashtbl.remove router.users t.nick_key
let is_registered t ~router = Hashtbl.mem router.channels t.nick_key let is_registered t ~router = Hashtbl.mem router.users t.nick_key
let prefix t = let prefix t =
Irc.Msg.User_prefix (t.nick, Some t.userinfo) Irc.Msg.User_prefix (t.nick, Some t.userinfo)