1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 23:46:38 +02:00

Fix checking if this is null in regchannel.

I can't see any places this might be called on a null pointer.
This commit is contained in:
Sadie Powell
2021-12-02 10:23:05 +00:00
parent 754c82d047
commit 84ec0903ee
+1 -1
View File
@@ -355,7 +355,7 @@ NickCore *ChannelInfo::GetSuccessor() const
BotInfo *ChannelInfo::WhoSends() const
{
if (this && this->bi)
if (this->bi)
return this->bi;
BotInfo *ChanServ = Config->GetClient("ChanServ");