diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2014-01-15 23:17:22 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2014-01-15 23:17:22 +0000 |
commit | 7fc699b563fbddfc6252863b51989874fd299a55 (patch) | |
tree | 605eaa503f793b4303b30ff412695ed433cf5253 /modules | |
parent | 6050eda92352c426897d0f4ffefff1e14d82a131 (diff) |
- 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
Diffstat (limited to 'modules')
-rw-r--r-- | modules/m_operwall.c | 23 |
1 files changed, 1 insertions, 22 deletions
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 |