fix User.is_registered !!
This commit is contained in:
parent
4fca26cc8a
commit
7762c40a22
|
@ -26,7 +26,7 @@ let set_nick t new_nick =
|
|||
|
||||
let register t ~router = Hashtbl.add router.users t.nick_key t
|
||||
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 =
|
||||
Irc.Msg.User_prefix (t.nick, Some t.userinfo)
|
||||
|
|
Loading…
Reference in New Issue