degesch: actually send messages

This commit is contained in:
Přemysl Eric Janouch 2015-04-17 21:33:52 +02:00
parent 954a9e127a
commit 8cb55e81b3
1 changed files with 6 additions and 2 deletions

View File

@ -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 // TODO: print a message to the buffer that it's not a channel
break; break;
case BUFFER_CHANNEL: 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; break;
case BUFFER_PM: 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; break;
} }
} }