diff options
author | charleszlu <c4planted@gmail.com> | 2014-08-09 10:12:14 +0400 |
---|---|---|
committer | charleszlu <c4planted@gmail.com> | 2014-08-09 10:12:14 +0400 |
commit | d4fb4d34c05a569e7b141ea14e724b7d5a167850 (patch) | |
tree | 35b1ea8d8711ada22a2b0bb7a56da11afe1a2d70 | |
parent | 4c45b091210375d126abb991dfb77c8cc9fc9743 (diff) |
Update murmur-munin.py
fixed mistake for more argument parsing
-rw-r--r-- | murmur-munin.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/murmur-munin.py b/murmur-munin.py index 19a389e..44b9781 100644 --- a/murmur-munin.py +++ b/murmur-munin.py @@ -122,11 +122,11 @@ if (sys.argv[1:]): print "chancount.value %.1f" % (len(server.getChannels())/10) ice.shutdown() sys.exit(0) - elif (sys.argv[1] == "chancount"): + elif (sys.argv[1] == "bancount"): print "bancount.value %i" % (len(server.getBans())) ice.shutdown() sys.exit(0) - elif (sys.argv[1] == "chancount"): + elif (sys.argv[1] == "usersnotauth"): print "usersnotauth.value %i" % (usersnotauth) ice.shutdown() sys.exit(0) |