Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Add send_user

Signed-off-by: John Else <john.else@citrix.com>
  • Loading branch information...
commit 23e4b954048b4fe7aee4b62abd3ddd0e4345783e 1 parent f428a3d
John Else authored

Showing 1 changed file with 3 additions and 0 deletions. Show diff stats Hide diff stats

  1. +3 0  lib/irc_client.ml
3  lib/irc_client.ml
@@ -30,4 +30,7 @@ module Make(Io: Irc_transport.IO) = struct
30 30
31 31 let send_quit connection =
32 32 send_raw connection "QUIT"
  33 +
  34 + let send_user connection username mode realname =
  35 + send_raw connection (Printf.sprintf "USER %s %i * :%s" username mode realname)
33 36 end

0 comments on commit 23e4b95

Please sign in to comment.
Something went wrong with that request. Please try again.