1
0
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:
Adam
2010-10-02 14:14:00 -04:00
parent 0a8bb88085
commit b0070bbd3b
6 changed files with 43 additions and 32 deletions
+1 -1
View File
@@ -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;
}