1
0
mirror of https://github.com/anope/anope.git synced 2026-06-12 19:14:47 +02:00

Fix os_stats counters not saving with db_sql_live. Bleh.

This commit is contained in:
Adam
2014-04-24 01:50:50 -04:00
parent f010ab7dbf
commit 75ed5a9b59
+6
View File
@@ -258,6 +258,12 @@ class OSStats : public Module
{
}
void OnUserConnect(User *u, bool &exempt) anope_override
{
if (UserListByNick.size() == MaxUserCount && Anope::CurTime == MaxUserTime)
stats_saver.QueueUpdate();
}
};
MODULE_INIT(OSStats)