projects
/
ircu2.10.12-pk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Author: Isomer <isomer@coders.net>
[ircu2.10.12-pk.git]
/
ircd
/
s_user.c
diff --git
a/ircd/s_user.c
b/ircd/s_user.c
index cf34ba2566876e014f04807576f1cc42bc1f0c72..6029736cbc363d7c136a0090ac9ba81db89fe104 100644
(file)
--- a/
ircd/s_user.c
+++ b/
ircd/s_user.c
@@
-191,7
+191,7
@@
int hunt_server_cmd(struct Client *from, const char *cmd, const char *tok,
struct Client *acptr;
char *to;
- if (MustBeOper && !IsPrivileged(
acptr
))
+ if (MustBeOper && !IsPrivileged(
from
))
{
send_reply(from, ERR_NOPRIVILEGES);
return HUNTED_NOSUCH;