[DGD] Kernel Mudlib

Erwin Harte harte at xs4all.nl
Sat Feb 16 04:51:32 CET 2002


On Fri, Feb 15, 2002 at 07:47:49PM -0800, Keith Dunwoody wrote:
> Hi,
> 
> Is there any way to disable login from the telnet (or binary) ports
> using LPC in the kernel mudlib?  What I'm doing at the moment is
> returning a user object which accepts no commands, so that a user
> can log in, but can't do anything once their there.  This smells
> very strongly of hack to me though, and I was wondering if there was
> a cleaner way to disable the telnet port.  

Return MODE_DISCONNECT or whatever it's called as the very first thing
in that special user-object, then the connection will be closed almost
immediately.

Erwin.
-- 
Erwin Harte <harte at xs4all.nl>
_________________________________________________________________
List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list