aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Elvio Basello2008-06-07 00:29:55 +0000
committerGravatar Elvio Basello2008-06-07 00:29:55 +0000
commit2ee6fe3de0defdf7e8af2da98ff99e16366636b9 (patch)
treefdbc36f685f5fcbad2948d1e7bacf5e7eb322f24
parentAdded tooltip for an unclear option (diff)
downloadKVIrc-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
-rw-r--r--src/modules/system/plugin.cpp7
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();
}
}