mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-14 04:59:01 -04:00
Whoops
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5884 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
b57568ecc4
commit
2a80ef7eaf
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user