diff options
| author | 2008-06-07 00:29:55 +0000 | |
|---|---|---|
| committer | 2008-06-07 00:29:55 +0000 | |
| commit | 2ee6fe3de0defdf7e8af2da98ff99e16366636b9 (patch) | |
| tree | fdbc36f685f5fcbad2948d1e7bacf5e7eb322f24 /src | |
| parent | Added tooltip for an unclear option (diff) | |
| download | KVIrc-2ee6fe3de0defdf7e8af2da98ff99e16366636b9.tar.gz KVIrc-2ee6fe3de0defdf7e8af2da98ff99e16366636b9.tar.bz2 KVIrc-2ee6fe3de0defdf7e8af2da98ff99e16366636b9.zip | |
fixed $system.call(); thanks to thexception
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@1911 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src')
| -rw-r--r-- | src/modules/system/plugin.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/modules/system/plugin.cpp b/src/modules/system/plugin.cpp index b214c4aab..b937957da 100644 --- a/src/modules/system/plugin.cpp +++ b/src/modules/system/plugin.cpp @@ -347,9 +347,9 @@ bool KviPluginManager::checkUnload() it.current()->unload(); m_pPluginDict->remove(it.currentKey()); } else { - m_pPluginDict++; m_bCanUnload = false; } + it.moveNext(); } return m_bCanUnload; @@ -361,8 +361,9 @@ void KviPluginManager::unloadAll() while(it.current()) { - it.current()->unload(); - m_pPluginDict->remove(it.currentKey()); + it.current()->unload(); + m_pPluginDict->remove(it.currentKey()); + it.moveNext(); } } |
