aboutsummaryrefslogtreecommitdiff
path: root/src/client.c
diff options
context:
space:
mode:
authorFranklin Wei <git@fwei.tk>2016-02-20 20:37:06 -0500
committerFranklin Wei <git@fwei.tk>2016-02-28 16:30:21 -0500
commit2c687e77cd9ae3fd01010d7b36c8d0082bb76315 (patch)
treeb8cd58cea075a3c94cb2f1417e6eaea27865b827 /src/client.c
parent02de31c48c021742c6245b711790f6d853866c36 (diff)
downloadnetcosm-2c687e77cd9ae3fd01010d7b36c8d0082bb76315.zip
netcosm-2c687e77cd9ae3fd01010d7b36c8d0082bb76315.tar.gz
netcosm-2c687e77cd9ae3fd01010d7b36c8d0082bb76315.tar.bz2
netcosm-2c687e77cd9ae3fd01010d7b36c8d0082bb76315.tar.xz
implements aliases and other assorted features/enhancements
Diffstat (limited to 'src/client.c')
-rw-r--r--src/client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client.c b/src/client.c
index 7ed0df5..a93ae0e 100644
--- a/src/client.c
+++ b/src/client.c
@@ -40,6 +40,8 @@ bool poll_requests(void);
void out_raw(const void *buf, size_t len)
{
+ if(!are_child)
+ error("out() called from master");
if(!len)
return;