From: lukas9950 Date: Sun, 25 Dec 2011 22:31:16 +0000 (+0100) Subject: allow network helpers to see the devnull class of users X-Git-Url: http://git.pk910.de/?p=srvx.git;a=commitdiff_plain;h=8b7d5d91d52181f38bb391f6b318ad92bd27344f allow network helpers to see the devnull class of users --- diff --git a/src/nickserv.c b/src/nickserv.c index 9e3aed7..df37fd3 100644 --- a/src/nickserv.c +++ b/src/nickserv.c @@ -1411,7 +1411,7 @@ static NICKSERV_FUNC(cmd_handleinfo) } reply("NSMSG_HANDLEINFO_INFOLINE", (hi->infoline ? hi->infoline : nsmsg_none)); - if (oper_has_access(user, cmd->parent->bot, 200, 1)) + if ((oper_has_access(user, cmd->parent->bot, 200, 1)) || IsNetworkHelper(user)) reply("NSMSG_HANDLEINFO_DEVNULL", (hi->devnull ? hi->devnull : nsmsg_none)); if (user->handle_info && HANDLE_FLAGGED(user->handle_info, BOT)) reply("NSMSG_HANDLEINFO_WEBSITE", (hi->website ? hi->website : nsmsg_none));