diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/core/cs_access.c | 1 | ||||
-rw-r--r-- | src/core/cs_xop.c | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/core/cs_access.c b/src/core/cs_access.c index 1d7264314..9812ac201 100644 --- a/src/core/cs_access.c +++ b/src/core/cs_access.c @@ -246,6 +246,7 @@ class CommandCSAccess : public Command 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 b80ca5af6..6f2c302e8 100644 --- a/src/core/cs_xop.c +++ b/src/core/cs_xop.c @@ -245,7 +245,10 @@ class XOPBase : public Command if (perm) notice_lang(s_ChanServ, u, PERMISSION_DENIED); else if (count == 1) + { + last = atoi(nick); notice_lang(s_ChanServ, u, messages[XOP_NO_SUCH_ENTRY], last, ci->name); + } else notice_lang(s_ChanServ, u, messages[XOP_NO_MATCH], ci->name); } |