diff options
-rw-r--r-- | src/core/cs_access.c | 1 | ||||
-rw-r--r-- | src/core/cs_xop.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/core/cs_access.c b/src/core/cs_access.c index a06051c7a..e663c83ba 100644 --- a/src/core/cs_access.c +++ b/src/core/cs_access.c @@ -307,6 +307,7 @@ int do_access(User * u) if (perm) { notice_lang(s_ChanServ, u, PERMISSION_DENIED); } else if (count == 1) { + last = atoi(nick); notice_lang(s_ChanServ, u, CHAN_ACCESS_NO_SUCH_ENTRY, last, ci->name); } else { diff --git a/src/core/cs_xop.c b/src/core/cs_xop.c index eb226c1bd..539bc6fcb 100644 --- a/src/core/cs_xop.c +++ b/src/core/cs_xop.c @@ -374,6 +374,7 @@ int do_xop(User * u, char *xname, int xlev, int *xmsgs) if (perm) { notice_lang(s_ChanServ, u, PERMISSION_DENIED); } else if (count == 1) { + last = atoi(nick); notice_lang(s_ChanServ, u, xmsgs[5], last, ci->name); } else { notice_lang(s_ChanServ, u, xmsgs[7], ci->name); |