From 39540c5719fd88e5a6e4d75c827613a021c24546 Mon Sep 17 00:00:00 2001 From: pk910 Date: Fri, 8 Jul 2011 18:08:28 +0200 Subject: [PATCH] make bots being able to see channels of other bots and services --- src/opserv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/opserv.c b/src/opserv.c index a899e2c..e6efce3 100644 --- a/src/opserv.c +++ b/src/opserv.c @@ -1338,7 +1338,7 @@ static MODCMD_FUNC(cmd_whois) reply("OSMSG_WHOIS_ACCOUNT", (target->handle_info ? target->handle_info->handle : "Not authenticated")); intervalString(buffer, now - target->timestamp, user->handle_info); reply("OSMSG_WHOIS_NICK_AGE", buffer); - if (target->channels.used <= MAX_CHANNELS_WHOIS) + if (target->channels.used <= MAX_CHANNELS_WHOIS || HANDLE_FLAGGED(user->handle_info, BOT)) opserv_ison(user, target, "OSMSG_WHOIS_CHANNELS"); else reply("OSMSG_WHOIS_HIDECHANS"); -- 2.20.1