From 8cb55e81b3e281cdf55f16da4209ec357c774bda Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Fri, 17 Apr 2015 21:33:52 +0200 Subject: degesch: actually send messages --- degesch.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/degesch.c b/degesch.c index 1f960ba..072ac71 100644 --- a/degesch.c +++ b/degesch.c @@ -1761,10 +1761,14 @@ send_message_to_current_buffer (struct app_context *ctx, char *message) // TODO: print a message to the buffer that it's not a channel break; case BUFFER_CHANNEL: - // TODO: send an IRC message to the channel + // TODO: print a message to the buffer + // TODO: autosplit + irc_send (ctx, "PRIVMSG %s :%s", buffer->name, message); break; case BUFFER_PM: - // TODO: send an IRC message to the user + // TODO: print a message to the buffer + // TODO: autosplit + irc_send (ctx, "PRIVMSG %s :%s", buffer->name, message); break; } } -- cgit v1.2.3-70-g09d2