summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2017-03-27 22:25:49 -0400
committerAdam <Adam@anope.org>2017-03-27 22:25:49 -0400
commitc656fe0694e8387d2504aac6fbd45867c88ee844 (patch)
tree542ff57cd2ba16f3c558bc3b3d9fef0990562826 /src
parentfb3ec7a89745936d80e4682566821700caabaea2 (diff)
regchannel: fix compile warning from previous commit
Diffstat (limited to 'src')
-rw-r--r--src/regchannel.cpp2
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);
}
}