allow network helpers to see the devnull class of users
authorlukas9950 <lukas9950@gmail.com>
Sun, 25 Dec 2011 22:31:16 +0000 (23:31 +0100)
committerlukas9950 <lukas9950@gmail.com>
Sun, 25 Dec 2011 22:31:16 +0000 (23:31 +0100)
src/nickserv.c

index 9e3aed7dd43d5db3bb36cc184b97cc56932303ec..df37fd3f24c2f91848e3d225adcf668f456a375b 100644 (file)
@@ -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));