summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-08 13:28:17 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-08 13:28:17 +0000
commit78a41fc6e425c49a0a8845fecf75434e00f7afa6 (patch)
tree3a54d2b38913970e144ef8254f0b5ed1a790984b
parentf571a318d69a7dd441afb62182507619f8fe7dd8 (diff)
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
-rw-r--r--include/commands/cmd_quit.h2
1 files changed, 1 insertions, 1 deletions
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 = "[<message>]"; }
+ cmd_quit (InspIRCd* Instance) : command_t(Instance,"QUIT",0,0,true) { syntax = "[<message>]"; }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};