diff options
author | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-12-09 22:50:13 +0000 |
---|---|---|
committer | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-12-09 22:50:13 +0000 |
commit | 3aa379bb922e55b473c0b0cf37e05a288f15491b (patch) | |
tree | 995d67758dd27dbd2824c394d883702cea02d40e /src/core | |
parent | 6e4112460817c1a099f2143b5e5d18a23c1be621 (diff) |
BUILD : 1.7.17 (1199) BUGS : 621 NOTES : Added the ability to see if AutoOp is enabled in NickServ INFO displays.
git-svn-id: svn://svn.anope.org/anope/trunk@1199 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@918 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/ns_info.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/ns_info.c b/src/core/ns_info.c index 87179171b..a0985fedd 100644 --- a/src/core/ns_info.c +++ b/src/core/ns_info.c @@ -240,6 +240,12 @@ int do_info(User * u) getstring(u->na, NICK_INFO_OPT_MSG)); need_comma = 1; } + if (!(na->nc->flags & NI_AUTOOP)) { + end += snprintf(end, sizeof(buf) - (end - buf), "%s%s", + need_comma ? commastr : "", + getstring(u->na, NICK_INFO_OPT_AUTOOP)); + need_comma = 1; + } notice_lang(s_NickServ, u, NICK_INFO_OPTIONS, *buf ? buf : getstring(u->na, NICK_INFO_OPT_NONE)); |