summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}
}