From b0070bbd3bb1cdcbfb7ca2463058448ba79b3111 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 2 Oct 2010 14:14:00 -0400 Subject: Made ChanServ optional --- include/extern.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/extern.h b/include/extern.h index 12fbcbbc5..879643caf 100644 --- a/include/extern.h +++ b/include/extern.h @@ -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; } -- cgit