From 403d16068410909b8d352588dc83f6d255a018b7 Mon Sep 17 00:00:00 2001 From: w00t Date: Tue, 15 Jul 2008 13:32:28 +0000 Subject: Send ERR_NOTREGISTERED to clients that send SERVER on a client port with a text that tells them what they are doing wrong. Should help them debug it themselves. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10023 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/commands/cmd_server.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/commands/cmd_server.h b/include/commands/cmd_server.h index 9de4b8381..f562a7ddf 100644 --- a/include/commands/cmd_server.h +++ b/include/commands/cmd_server.h @@ -29,7 +29,7 @@ class CommandServer : public Command public: /** Constructor for server. */ - CommandServer (InspIRCd* Instance) : Command(Instance,"SERVER",0,0) { } + CommandServer (InspIRCd* Instance) : Command(Instance,"SERVER",0,0,true) { } /** Handle command. * @param parameters The parameters to the comamnd * @param pcnt The number of parameters passed to teh command -- cgit v1.2.3