]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/m_testline.c
testline/testgecos: Send "not an oper" message if appropriate.
[irc/rqf/shadowircd.git] / modules / m_testline.c
index 46985bb33c5ed4aae7047077e65f22ed5d5d373f..7efc62ca880f285d87ce5f19e1262d0881a463bf 100644 (file)
@@ -46,11 +46,11 @@ static int mo_testgecos(struct Client *, struct Client *, int, const char **);
 
 struct Message testline_msgtab = {
        "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 = {
        "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 };