Skip to content
Snippets Groups Projects
Commit aa7d1aa8 authored by rswindell's avatar rswindell
Browse files

Call gettimeleft() in privchat() before displaying the split-chat screen. This

fixes a problem with an uninitialized timeleft value being displayed when
popped into local sysop chat from the login prompt.
PR: 38
parent 2e4e9b11
Branches
Tags
No related merge requests found
......@@ -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 2003 Rob Swindell - http://www.synchro.net/copyright.html *
* Copyright 2005 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 *
......@@ -789,6 +789,8 @@ void sbbs_t::privchat(bool local)
}
}
gettimeleft();
if(getnodedat(cfg.node_num,&thisnode,true)==0) {
thisnode.action=action=NODE_PCHT;
thisnode.aux=n;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment