From 78a41fc6e425c49a0a8845fecf75434e00f7afa6 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 8 Sep 2006 13:28:17 +0000 Subject: Allow QUIT to be used before we fully register the connection. This stops mirc from closing the connection thinking it has quit when inspircd has denied their QUIT command, in theory the ghosts w00t and i saw would have timed out after 60 secs? git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5158 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/commands/cmd_quit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/commands/cmd_quit.h b/include/commands/cmd_quit.h index 85e0b3d9d..b0577972a 100644 --- a/include/commands/cmd_quit.h +++ b/include/commands/cmd_quit.h @@ -25,7 +25,7 @@ class cmd_quit : public command_t { public: - cmd_quit (InspIRCd* Instance) : command_t(Instance,"QUIT",0,0) { syntax = "[]"; } + cmd_quit (InspIRCd* Instance) : command_t(Instance,"QUIT",0,0,true) { syntax = "[]"; } CmdResult Handle(const char** parameters, int pcnt, userrec *user); }; -- cgit v1.2.3