We take 2 parameters here. The channel name, and the rest of the text that we ignore.
This commit is contained in:
parent
fa8bededfe
commit
4130df618a
|
@ -17,7 +17,7 @@ DECLARE_MODULE_V1
|
||||||
|
|
||||||
static void command_roulette(sourceinfo_t *si, int parc, char *parv[]);
|
static void command_roulette(sourceinfo_t *si, int parc, char *parv[]);
|
||||||
|
|
||||||
command_t cmd_roulette = { "ROULETTE", N_("A game of Russian Roulette."), AC_NONE, 0, command_roulette, { .path = "contrib/roulette" } };
|
command_t cmd_roulette = { "ROULETTE", N_("A game of Russian Roulette."), AC_NONE, 2, command_roulette, { .path = "contrib/roulette" } };
|
||||||
|
|
||||||
void _modinit(module_t * m)
|
void _modinit(module_t * m)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue