summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/extern.h2
1 files changed, 1 insertions, 1 deletions
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;
}