fix null deref and auto rejoin channels

This commit is contained in:
2024-06-18 17:43:08 +02:00
parent 3cb37e33a2
commit ae817987c6
4 changed files with 38 additions and 5 deletions

View File

@ -63,9 +63,7 @@ SOLANA_PLUGIN_EXPORT void solana_plugin_stop(void) {
}
SOLANA_PLUGIN_EXPORT float solana_plugin_tick(float delta) {
g_ircc->iterate(delta); // TODO: return interval, respect dcc etc
return 1.f; // expect atleast once per sec
return g_ircc->iterate(delta);
}
} // extern C