From c656fe0694e8387d2504aac6fbd45867c88ee844 Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 27 Mar 2017 22:25:49 -0400 Subject: [PATCH] regchannel: fix compile warning from previous commit --- src/regchannel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/regchannel.cpp b/src/regchannel.cpp index 98c3144e4..9502d2116 100644 --- a/src/regchannel.cpp +++ b/src/regchannel.cpp @@ -33,7 +33,7 @@ AutoKick::~AutoKick() if (it != this->ci->akick->end()) this->ci->akick->erase(it); - if (nc != NULL) + if (nc) nc->RemoveChannelReference(this->ci); } }