diff options
| author | Adam <Adam@anope.org> | 2010-10-02 14:14:00 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2010-10-02 15:23:55 -0400 |
| commit | b0070bbd3bb1cdcbfb7ca2463058448ba79b3111 (patch) | |
| tree | 0bcdc7faf402a5bb399ad913b92d57edb7b18846 /include | |
| parent | 0a8bb8808549e0f93a690fa887f46af03768c9db (diff) | |
Made ChanServ optional
Diffstat (limited to 'include')
| -rw-r--r-- | include/extern.h | 2 |
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; } |
