summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2010-04-20 02:11:46 +0000
committerAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2010-04-20 02:11:46 +0000
commitb67dada56faf17b8d3fa7044c62162d2e840494e (patch)
tree1658d1019678370991717b8a03d706794fd0c7dc /src
parentc66f28ed61e1224f4a21d03bc09ca8417bbe3dce (diff)
Fixed /ns info to show when a nick expires to services opers, not only admins
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/stable@2900 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r--src/core/ns_info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ns_info.c b/src/core/ns_info.c
index afc4edf95..7f04273a4 100644
--- a/src/core/ns_info.c
+++ b/src/core/ns_info.c
@@ -264,7 +264,7 @@ int do_info(User * u)
if (na->status & NS_NO_EXPIRE) {
notice_lang(s_NickServ, u, NICK_INFO_NO_EXPIRE);
} else {
- if (is_services_admin(u)) {
+ if (is_servadmin) {
expt = na->last_seen + NSExpire;
tm = localtime(&expt);
strftime_lang(buf, sizeof(buf), na->u,