diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-04-17 21:33:52 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-04-17 21:33:52 +0200 |
commit | 8cb55e81b3e281cdf55f16da4209ec357c774bda (patch) | |
tree | e69408be727855c6e7a70f0eb617a7df34a8f499 /degesch.c | |
parent | 954a9e127ac2c4c0389304f2c66799d92b4b87a4 (diff) | |
download | xK-8cb55e81b3e281cdf55f16da4209ec357c774bda.tar.gz xK-8cb55e81b3e281cdf55f16da4209ec357c774bda.tar.xz xK-8cb55e81b3e281cdf55f16da4209ec357c774bda.zip |
degesch: actually send messages
Diffstat (limited to 'degesch.c')
-rw-r--r-- | degesch.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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; } } |