From b43e956ba4ad15ab221bed6bb150086546ac9e62 Mon Sep 17 00:00:00 2001 From: Someone Date: Wed, 28 Aug 2013 19:23:18 +0200 Subject: [PATCH] added NSMiscData to stats --- cron/ircsvcstats.sh | 1 + ircsvcnicks | 3 +++ 2 files changed, 4 insertions(+) diff --git a/cron/ircsvcstats.sh b/cron/ircsvcstats.sh index 916b47e..7abbd46 100755 --- a/cron/ircsvcstats.sh +++ b/cron/ircsvcstats.sh @@ -26,5 +26,6 @@ echo "nickalias.value $(egrep '^OBJECT NickAlias' data/anope.db | wc -l)" >> /tm echo "memo.value $(egrep '^OBJECT Memo' data/anope.db | wc -l)" >> /tmp/irc/servicestats.txt echo "chanaccess.value $(egrep '^OBJECT ChanAccess' data/anope.db | wc -l)" >> /tmp/irc/servicestats.txt echo "modelock.value $(egrep '^OBJECT ModeLock' data/anope.db | wc -l)" >> /tmp/irc/servicestats.txt +echo "nsmiscdata.value $(egrep '^OBJECT NSMiscData' data/anope.db | wc -l)" >> /tmp/irc/servicestats.txt chmod 664 /tmp/irc/servicestats.txt &> /dev/null diff --git a/ircsvcnicks b/ircsvcnicks index a33fe87..7fc8422 100755 --- a/ircsvcnicks +++ b/ircsvcnicks @@ -33,10 +33,13 @@ if [ "$1" = "config" ]; then echo "nickalias.draw LINE2" echo "nickcore.label Registered nicks" echo "nickcore.draw LINE2" + echo "nsmiscdata.label Misc nick data" + echo "nsmiscdata.draw LINE2" exit 0 fi grep -i "nickalias.value" /tmp/irc/servicestats.txt grep -i "nickcore.value" /tmp/irc/servicestats.txt +grep -i "nsmiscdata.value" /tmp/irc/servicestats.txt exit 0 -- 2.43.0