summaryrefslogtreecommitdiff
path: root/command.c
diff options
context:
space:
mode:
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);
}