about summary refs log tree commit diff stats
path: root/bin
diff options
context:
space:
mode:
authorahriman <ahriman@falte.red>2019-09-01 17:27:52 -0400
committerahriman <ahriman@falte.red>2019-09-01 17:27:52 -0400
commit838ec6c3c433ad1d5ec5c4f40b8f8bc7c4af03fa (patch)
tree8b3992c1d7431cf2d2cab3379ea924a82e62b9d7 /bin
parent79f4ddb208169c8ab0fec5fbacb06a31b1965d17 (diff)
downloadadmin-838ec6c3c433ad1d5ec5c4f40b8f8bc7c4af03fa.tar.gz
updated showwhoison, motd
Diffstat (limited to 'bin')
-rwxr-xr-xbin/connusers.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/connusers.py b/bin/connusers.py
index 26ab112..d2672f2 100755
--- a/bin/connusers.py
+++ b/bin/connusers.py
@@ -21,6 +21,10 @@ def checkconns():
         split = conns.split(' ')
         for conn in split:
             if conn != "" and conn != " " and conn != "root" and conn not in seen:
+                # this needs to be fixed. truncates long usernames
+                # resulting in broken links to their pages. thanks, ps(1)
+                if conn == "sarmonsi":
+                    conn = "sarmonsiill"
                 seen.add(conn)
                 conntable.write("<li><a href=\"https://"+ conn +".tilde.institute\">"+ conn +"</a></li>\n")