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

Fix two compile warnings in access.cpp on newer compiles

This commit is contained in:
Adam
2014-05-20 10:00:34 -04:00
parent 01021131ca
commit e581158645
+2 -2
View File
@@ -151,7 +151,7 @@ ChanAccess::~ChanAccess()
if (it != this->ci->access->end())
this->ci->access->erase(it);
if (nc != NULL)
if (*nc != NULL)
nc->RemoveChannelReference(this->ci);
else
{
@@ -164,7 +164,7 @@ ChanAccess::~ChanAccess()
void ChanAccess::SetMask(const Anope::string &m, ChannelInfo *c)
{
if (nc != NULL)
if (*nc != NULL)
nc->RemoveChannelReference(this->ci);
else if (!this->mask.empty())
{