From 7fc699b563fbddfc6252863b51989874fd299a55 Mon Sep 17 00:00:00 2001 From: michael Date: Wed, 15 Jan 2014 23:17:22 +0000 Subject: - m_operwall.c: removed me_operwall() encap handler git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2823 82007160-df01-0410-b94d-b575c5fd34c7 --- modules/m_operwall.c | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) (limited to 'modules') diff --git a/modules/m_operwall.c b/modules/m_operwall.c index 6114916..c3accc0 100644 --- a/modules/m_operwall.c +++ b/modules/m_operwall.c @@ -93,31 +93,10 @@ ms_operwall(struct Client *client_p, struct Client *source_p, return 0; } -/* - * me_operwall - OPERWALL message handler - * (write to *all* local opers currently online) - * parv[0] = sender prefix - * parv[1] = message text - * - * Lets ms_encap handle propagation. - */ -static int -me_operwall(struct Client *client_p, struct Client *source_p, - int parc, char *parv[]) -{ - const char *message = parv[1]; - - if (EmptyString(message)) - return 0; - - sendto_wallops_flags(UMODE_OPERWALL, source_p, "OPERWALL - %s", message); - return 0; -} - static struct Message operwall_msgtab = { "OPERWALL", 0, 0, 2, MAXPARA, MFLG_SLOW, 0, - { m_unregistered, m_not_oper, ms_operwall, me_operwall, mo_operwall, m_ignore } + { m_unregistered, m_not_oper, ms_operwall, m_ignore, mo_operwall, m_ignore } }; static void -- cgit