/* call-seq:
 *      bz_send_text_message(from, to, message)
 *
 *      Sends a text message to the specified user. BZ_SERVER should be
 *      used for messages from the server. If the message is sent to
 *      BZ_ALL_USERS  it will send the message to all connected users.
 *      Likewise if it is set to BZ_ADMIN_CHANNEL  it will be sent to all
 *      users with the ADMINMESSAGERECEIVE permission.
 */

static VALUE
bzflag_bz_sendTextMessage(VALUE self, VALUE from, VALUE to, VALUE message)
{
        bz_sendTextMessage (NUM2INT(from), NUM2INT(to), RSTRING(StringValue(message))->ptr);

        return Qnil;
}