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:
+1
-1
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user