Commit 7cabc98e authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(do_delete_conf): Update STAT_CONFS.

(do_create_conf): Ditto.
parent 9ca25697
/*
* $Id: conference.c,v 0.82 2003/08/11 10:55:46 ceder Exp $
* $Id: conference.c,v 0.83 2003/08/11 22:17:30 ceder Exp $
* Copyright (C) 1991-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -63,6 +63,7 @@
#include "aux-items.h"
#include "local-to-global.h"
#include "server-time.h"
#include "stats.h"
BUGDECL;
......@@ -119,6 +120,7 @@ do_delete_conf (Conf_no conf_no,
/* FIXME (bug 905): There should be an async message about the deletion. */
cached_delete_conf( conf_no );
update_stat(STAT_CONFS, -1);
return;
}
......@@ -329,6 +331,7 @@ do_create_conf(String name,
conf_stat_add_aux_item_list(conf_c, conf_no, aux, creator);
mark_conference_as_changed (conf_no);
update_stat(STAT_CONFS, 1);
return conf_no;
}
......
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