1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 21:23:13 +02:00

Allow userless command sources

This commit is contained in:
Adam
2012-06-18 05:04:30 -04:00
parent 873d4287de
commit 2dec8e767a
153 changed files with 1029 additions and 1060 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ class CommandCSSetMisc : public Command
source.Reply(CHAN_X_NOT_REGISTERED, params[0].c_str());
return;
}
else if (source.permission.empty() && !ci->AccessFor(source.u).HasPriv("SET"))
else if (source.permission.empty() && !source.AccessFor(ci).HasPriv("SET"))
{
source.Reply(ACCESS_DENIED);
return;