git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5884 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
brain 2006-12-07 23:06:49 +00:00
parent b57568ecc4
commit 2a80ef7eaf

View File

@ -84,6 +84,9 @@ extern "C" command_t* init_command(InspIRCd* Instance)
bool cmd_who::CanView(chanrec* chan, userrec* user)
{
if (!user || !chan)
return false;
/* Execute items in fastest-to-execute first order */
if (*user->oper)
return true;