mirror of
https://github.com/znc/znc.git
synced 2026-05-08 06:14:40 +02:00
Unload modules in reverse order.
This commit is contained in:
committed by
Uli Schlachter
parent
927c1d3074
commit
b5043eb850
+1
-1
@@ -603,7 +603,7 @@ CModules::~CModules() {
|
||||
void CModules::UnloadAll() {
|
||||
while (size()) {
|
||||
CString sRetMsg;
|
||||
CString sModName = (*this)[0]->GetModName();
|
||||
CString sModName = back()->GetModName();
|
||||
UnloadModule(sModName, sRetMsg);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user