1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 15:36:38 +02:00

Channel::HasUserStatus: Don't just return false if cms is NULL.

This commit is contained in:
CuleX
2013-01-24 06:22:50 +01:00
committed by Adam
parent 647245a71f
commit 74ace7d4b9
-3
View File
@@ -255,9 +255,6 @@ ChanUserContainer *Channel::FindUser(const User *u) const
bool Channel::HasUserStatus(const User *u, ChannelModeStatus *cms) const
{
if (!cms)
return false;
/* Usually its more efficient to search the users channels than the channels users */
ChanUserContainer *cc = u->FindChannel(this);
if (cc)