Skip to content

Commit

Permalink
Add send_user
Browse files Browse the repository at this point in the history
Signed-off-by: John Else <john.else@citrix.com>
  • Loading branch information
johnelse committed Apr 2, 2013
1 parent f428a3d commit 23e4b95
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/irc_client.ml
Expand Up @@ -30,4 +30,7 @@ module Make(Io: Irc_transport.IO) = struct

let send_quit connection =
send_raw connection "QUIT"

let send_user connection username mode realname =
send_raw connection (Printf.sprintf "USER %s %i * :%s" username mode realname)
end

0 comments on commit 23e4b95

Please sign in to comment.