mirror of
https://github.com/anope/anope.git
synced 2026-06-12 19:14:47 +02:00
Merge branch '2.0' into 2.1.
This commit is contained in:
@@ -1127,7 +1127,8 @@ module
|
||||
* db_sql_live module allows saving and loading databases using one of the SQL engines.
|
||||
* This module reads and writes to SQL in real time. Changes to the SQL tables
|
||||
* will be immediately reflected into Anope. This module should not be loaded
|
||||
* in conjunction with db_sql.
|
||||
* in conjunction with db_sql. It should also not be used on large networks as it
|
||||
* executes quite a lot of queries which can cause performance issues.
|
||||
*
|
||||
*/
|
||||
#module
|
||||
|
||||
@@ -132,6 +132,8 @@ private:
|
||||
static void DoStatsReset(CommandSource &source)
|
||||
{
|
||||
MaxUserCount = UserListByNick.size();
|
||||
MaxUserTime = Anope::CurTime;
|
||||
Stats::me->QueueUpdate();
|
||||
source.Reply(_("Statistics reset."));
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user