m_forcenick.c
Anthony Martinez
pi at pihost.us
Tue Jul 27 10:39:18 EDT 2004
On Tue, Jul 27, 2004 at 07:44:11AM -0400, W. Campbell
carved this out of pure phosphors:
> On Mon, 26 Jul 2004, Anthony Martinez wrote:
>
> >I had thought it was in the contrib/ in the tarball, but I got it from
> >Kreator's
> >hybserv repository. Oops. I'll send him an AIM about it.
> >
> >Sorry!
>
> The msgtab structure has changed, examine contrib/example_module.c to
> see what needs to be done to his module to make it function (It should
> just me adding in an m_ignore in the right place).
Well, I got it to work. The documentation for example_module ought to be updated
to mention that the args go "unreg, nonoper, remote, encapped remote command,
oper", because it didn't mention that in the comments.
Thanks
Pi
--- m_forcenick.c.old Fri Jul 9 16:52:06 2004
+++ m_forcenick.c Tue Jul 27 08:29:10 2004
@@ -55,7 +55,7 @@
struct Message forcenick_msgtab =
{
"FORCENICK", 0, 0, 3, 0, MFLG_SLOW, 0,
- {m_ignore, m_not_oper, mo_forcenick, mo_forcenick}
+ {m_ignore, m_not_oper, mo_forcenick, m_ignore, mo_forcenick}
};
#ifndef STATIC_MODULES
--
prom_printf("Detected PenguinPages, getting out of here.\n");
2.0.38 /usr/src/linux/arch/sparc/mm/srmmu.c
More information about the hybrid
mailing list