diff options
author | Adam <Adam@anope.org> | 2017-03-27 22:25:49 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2017-03-27 22:25:49 -0400 |
commit | c656fe0694e8387d2504aac6fbd45867c88ee844 (patch) | |
tree | 542ff57cd2ba16f3c558bc3b3d9fef0990562826 | |
parent | fb3ec7a89745936d80e4682566821700caabaea2 (diff) |
regchannel: fix compile warning from previous commit
-rw-r--r-- | src/regchannel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } |