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
Treat G-line-related times as network times, rather than local times.
[ircu2.10.12-pk.git]
/
ircd
/
m_privs.c
diff --git
a/ircd/m_privs.c
b/ircd/m_privs.c
index ed4494b0eceb3260cfb7250d4c2ccbd00e236442..f39915eee334f2faf9c26a3624ad834c1106598b 100644
(file)
--- a/
ircd/m_privs.c
+++ b/
ircd/m_privs.c
@@
-59,7
+59,7
@@
int mo_privs(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
for (name = ircd_strtok(&p, parv[i], " "); name;
name = ircd_strtok(&p, 0, " ")) {
if (!(acptr = FindUser(name)))
for (name = ircd_strtok(&p, parv[i], " "); name;
name = ircd_strtok(&p, 0, " ")) {
if (!(acptr = FindUser(name)))
-
continue
;
+
send_reply(sptr, ERR_NOSUCHNICK, name)
;
else if (MyUser(acptr))
client_report_privs(sptr, acptr);
else
else if (MyUser(acptr))
client_report_privs(sptr, acptr);
else
@@
-94,7
+94,7
@@
int ms_privs(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
else if (MyUser(acptr))
client_report_privs(sptr, acptr);
else
else if (MyUser(acptr))
client_report_privs(sptr, acptr);
else
- sendcmdto_one(
c
ptr, CMD_PRIVS, acptr, "%s%s", NumNick(acptr));
+ sendcmdto_one(
s
ptr, CMD_PRIVS, acptr, "%s%s", NumNick(acptr));
}
}
}
}