aboutsummaryrefslogtreecommitdiff
path: root/src/cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd.c')
-rw-r--r--src/cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd.c b/src/cmd.c
index 1eccdf5..89d8c4c 100644
--- a/src/cmd.c
+++ b/src/cmd.c
@@ -17,7 +17,7 @@ void cmd_command(const char *cmd) {
txbuf_send_str(cmd + 1);
else if(channel[0])
cmd_chan_text(cmd);
- else scr_print(SCR_CURR, "*** You are not on a channel\n");
+ else scr_print_current("*** You are not on a channel\n");
}
void cmd_execute(void) {