Permalink
Browse files

Add send_user

Signed-off-by: John Else <john.else@citrix.com>
  • Loading branch information...
1 parent f428a3d commit 23e4b954048b4fe7aee4b62abd3ddd0e4345783e @johnelse committed Apr 1, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/irc_client.ml
View
@@ -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.