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
commitef4822cca2ffcc86c9d5da3a11033e33480df50e (patch)
treea7da63d6dc009d5dcfac6356697c68f29c477afe /command.c
parentd2b74b1d3f315da06d99a39eb282176c5b0ae8b3 (diff)
New upstream version 2.11
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);
}