mirror of
https://github.com/anope/anope.git
synced 2026-07-01 08:16:39 +02:00
Made ChanServ optional
This commit is contained in:
+1
-1
@@ -92,7 +92,7 @@ E long get_memuse(EList *list);
|
||||
inline BotInfo *whosends(ChannelInfo *ci)
|
||||
{
|
||||
if (!ci || !ci->bi || !ci->c || !ci->botflags.HasFlag(BS_SYMBIOSIS) || !ci->c->FindUser(ci->bi))
|
||||
return ChanServ;
|
||||
return ChanServ ? ChanServ : NickServ;
|
||||
return ci->bi;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user