From 96bfafc1f844ecbcf29dcaf80af6e2314a7130e0 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 46985bb3..7efc62ca 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 };