Commit e9d58e4f authored by rswindell's avatar rswindell

Bug-fix: C-restricted users could not be pulled into local sysop chat.

parent 5abebe2c
......@@ -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 2007 Rob Swindell - http://www.synchro.net/copyright.html *
* Copyright 2008 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 *
......@@ -728,14 +728,15 @@ void sbbs_t::privchat(bool local)
node_t node;
time_t last_nodechk=0;
if(useron.rest&FLAG('C')) {
bputs(text[R_Chat]);
return;
}
if(local)
n=0;
else {
if(useron.rest&FLAG('C')) {
bputs(text[R_Chat]);
return;
}
n=getnodetopage(0,0);
if(!n)
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment