From 0e0c4508f18a872a45c0f8f05c150aca1bc20ed3 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Sun, 7 Feb 2010 17:57:36 +0100 Subject: [PATCH] testline/testgecos: Send "not an oper" message if appropriate. --- modules/m_testline.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/m_testline.c b/modules/m_testline.c index 46985bb..7efc62c 100644 --- a/modules/m_testline.c +++ b/modules/m_testline.c @@ -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 };