testline/testgecos: Send "not an oper" message if appropriate.
This commit is contained in:
parent
8eda114a78
commit
96bfafc1f8
1 changed files with 2 additions and 2 deletions
|
@ -46,11 +46,11 @@ static int mo_testgecos(struct Client *, struct Client *, int, const char **);
|
||||||
|
|
||||||
struct Message testline_msgtab = {
|
struct Message testline_msgtab = {
|
||||||
"TESTLINE", 0, 0, 0, MFLG_SLOW,
|
"TESTLINE", 0, 0, 0, MFLG_SLOW,
|
||||||
{mg_unreg, mg_ignore, mg_ignore, mg_ignore, mg_ignore, {mo_testline, 2}}
|
{mg_unreg, mg_not_oper, mg_ignore, mg_ignore, mg_ignore, {mo_testline, 2}}
|
||||||
};
|
};
|
||||||
struct Message testgecos_msgtab = {
|
struct Message testgecos_msgtab = {
|
||||||
"TESTGECOS", 0, 0, 0, MFLG_SLOW,
|
"TESTGECOS", 0, 0, 0, MFLG_SLOW,
|
||||||
{mg_unreg, mg_ignore, mg_ignore, mg_ignore, mg_ignore, {mo_testgecos, 2}}
|
{mg_unreg, mg_not_oper, mg_ignore, mg_ignore, mg_ignore, {mo_testgecos, 2}}
|
||||||
};
|
};
|
||||||
|
|
||||||
mapi_clist_av1 testline_clist[] = { &testline_msgtab, &testgecos_msgtab, NULL };
|
mapi_clist_av1 testline_clist[] = { &testline_msgtab, &testgecos_msgtab, NULL };
|
||||||
|
|
Loading…
Reference in a new issue