diff --git a/src/sbbs3/inkey.cpp b/src/sbbs3/inkey.cpp index 554c894532d48fd3894877c80b271ba16bf4cc57..f71c11364b909a2dfe54e3bd340d3027538a498c 100644 --- a/src/sbbs3/inkey.cpp +++ b/src/sbbs3/inkey.cpp @@ -8,7 +8,7 @@ * @format.tab-size 4 (Plain Text/Source Code File Header) * * @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) * * * - * Copyright 2014 Rob Swindell - http://www.synchro.net/copyright.html * + * Copyright 2015 Rob Swindell - http://www.synchro.net/copyright.html * * * * This program is free software; you can redistribute it and/or * * modify it under the terms of the GNU General Public License * @@ -107,7 +107,7 @@ char sbbs_t::handle_ctrlkey(char ch, long mode) backspace(); return(0); } - if(ch==CTRL_Z && !(mode&K_MSG|K_GETSTR) + if(ch==CTRL_Z && !(mode&(K_MSG|K_GETSTR)) && action!=NODE_PCHT) { /* Ctrl-Z toggle raw input mode */ if(hotkey_inside>1) /* only allow so much recursion */ return(0);