diff options
Diffstat (limited to 'src/cmd.c')
| -rw-r--r-- | src/cmd.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -216,8 +216,10 @@ static void do_server_info(void) { static void send_ctcp(void) { txbuf_set_str3("PRIVMSG ", arg1, " :\x01"); txbuf_append_str(arg2); - if(arg3) - txbuf_append_str2(" ", arg3); + if(arg3) { + txbuf_append_chr(' '); + txbuf_append_str(arg3); + } txbuf_append_str("\x01"); txbuf_send(); } |
