From 8dfcbfa87c4a98a03d4f703ec3cb2147bd260e26 Mon Sep 17 00:00:00 2001 From: Sverre Rabbelier Date: Fri, 18 Apr 2008 00:24:56 +0200 Subject: [PATCH] When a user does 'go quit', just ignore and pop the editor. --- src/Core/Editors/EditorMovement.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Core/Editors/EditorMovement.cpp b/src/Core/Editors/EditorMovement.cpp index ea0c5a4..d0a4a90 100644 --- a/src/Core/Editors/EditorMovement.cpp +++ b/src/Core/Editors/EditorMovement.cpp @@ -120,10 +120,9 @@ void EditorMovement::OnFocus() { if(m_line.size()) { - if(!m_line.compare("quit")) - return; - - OnLine(m_line); + if(m_line.compare("quit")) + OnLine(m_line); + m_sock->PopEditor(); } } -- 2.11.4.GIT