summaryrefslogtreecommitdiff
path: root/command.c
diff options
context:
space:
mode:
authorHibby <d@vehibberd.com>2020-03-24 20:55:41 +0000
committerHibby <d@vehibberd.com>2020-03-24 20:55:41 +0000
commit93a75b098cfd7eef8dc24f9eb98c278b726cba59 (patch)
treeeef66061d0d1d92b5088244ab078e015ea4509a2 /command.c
parente194582206323fee5cbdf62b1c0dca13499fafb1 (diff)
parentef4822cca2ffcc86c9d5da3a11033e33480df50e (diff)
Update upstream source from tag 'upstream/2.11'
Update to upstream version '2.11' with Debian dir a307fbe04ee061f870829d2e65cdb55a78ae0550
Diffstat (limited to 'command.c')
-rw-r--r--command.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/command.c b/command.c
index c6b18f9..ae97701 100644
--- a/command.c
+++ b/command.c
@@ -77,6 +77,10 @@ void init_nodecmds(void)
void node_prompt(const char *fmt, ...)
{
+
+ if ((User.ul_type == AF_NETROM) && (check_perms(PERM_ANSI, 0L) != -1)) {
+ axio_printf(NodeIo,"\e[0m");
+ }
if (User.ul_type == AF_NETROM) {
axio_printf(NodeIo,"%s} ", NodeId);
}