From 386c71475a49c03e3263e349c53b2e2e6d5fceb0 Mon Sep 17 00:00:00 2001 From: James Lu Date: Fri, 7 Oct 2016 18:51:31 -0700 Subject: [PATCH] servermaps: removing leading - from entries --- plugins/servermaps.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/servermaps.py b/plugins/servermaps.py index f23602f..2f2a064 100644 --- a/plugins/servermaps.py +++ b/plugins/servermaps.py @@ -68,9 +68,9 @@ def _map(irc, source, args, show_relay=True): serverusers = len(serverlist[leaf].users) if is_relay_server: # Skip showing user data for relay servers. - reply("%s-\x02%s\x02[%s] (via PyLink Relay)" % (' '*hops, serverlist[leaf].name, leaf)) + reply("%s\x02%s\x02[%s] (via PyLink Relay)" % (' '*hops, serverlist[leaf].name, leaf)) else: - reply("%s-\x02%s\x02[%s]: %s user(s) (%s%%)" % (' '*hops, serverlist[leaf].name, leaf, + reply("%s\x02%s\x02[%s]: %s user(s) (%s%%)" % (' '*hops, serverlist[leaf].name, leaf, serverusers, _percent(serverusers, usercount))) showall(ircobj, leaf, hops, is_relay_server=is_relay_server)