mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Unload modules in reverse order.
This commit is contained in:
committed by
Kyle Fuller
parent
c456d20b21
commit
76aaafd4d0
@@ -598,7 +598,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