mirror of
https://github.com/znc/znc.git
synced 2026-08-03 15:33:02 +02:00
Some more fun with tabs
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1966 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
+1
-1
@@ -173,7 +173,7 @@ void CTemplate::RemovePath(const CString& sPath) {
|
||||
for (list<pair<CString, bool> >::iterator it = m_lsbPaths.begin(); it != m_lsbPaths.end(); ++it) {
|
||||
if (it->first == sPath) {
|
||||
m_lsbPaths.remove(*it);
|
||||
RemovePath(sPath); // @todo probably shouldn't use recursion, being lazy
|
||||
RemovePath(sPath); // @todo probably shouldn't use recursion, being lazy
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user