Topic: how to make info channel ?
i want to ask you how to make info channel ?
so, if i type: /x hello
it will show:
Info Channel From Jimmy_Aquarius: Hello
it will show to all user in the channel
this is my code
static int _handle_infochannel_command(t_connection * c, char const * text)
{
snprintf(msgtemp, sizeof(msgtemp), "Info Channel from %.64s: %.128s",conn_get_username(c),&text[i]);
channel_message_send(channel,message_type_error,c,msgtemp);
return 0;
}
please correct it
Thanks