diff --git a/src/sbbs3/js_console.cpp b/src/sbbs3/js_console.cpp index 4aea2615b895b7e5423a3c99d9673b2d30f5cd4d..7a621271900ea1e6de537113a7779a3e3c3a1766 100644 --- a/src/sbbs3/js_console.cpp +++ b/src/sbbs3/js_console.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 2013 Rob Swindell - http://www.synchro.net/copyright.html * + * Copyright 2014 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 * @@ -1598,6 +1598,7 @@ js_clearkeybuf(JSContext *cx, uintN argc, jsval *arglist) return(JS_FALSE); sbbs->keybufbot=sbbs->keybuftop=0; + RingBufReInit(&sbbs->inbuf); return(JS_TRUE); }