Files
znc/Chan.cpp
psychon 3e2b71263f Fix a potential crash bug on channel part (CChan::RemNick())
This function didn't properly check it had a valid iterator *before* using
this iterator (.begin()->second).

Now we first check if that iterator is valid (size() is *not* zero) before we
run this. No behaviour is changed, but the bug is gone. Yay. ;)


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1133 726aef4b-f618-498e-8847-2d620e286838
2008-07-14 10:42:27 +00:00

14 KiB