diff options
author | Timo Sirainen <cras@irssi.org> | 2002-02-03 21:53:37 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2002-02-03 21:53:37 +0000 |
commit | 7c94cb083f5354cf85453e9465887fc45bf5bcdc (patch) | |
tree | b014e28fe402bf627de7e762160223b3eb663280 /src/irc | |
parent | 6ea882f8932e115c32f7b3991cb0a7685a359e56 (diff) | |
download | irssi-7c94cb083f5354cf85453e9465887fc45bf5bcdc.zip |
Added target_type to send_message(), -channel and -nick parameters to /MSG
to specify if it's supposed to be to channel/nick. /MSG -channel is used
automatically by irssi when sending messages to channel (the "normal" way
without /msg). This should help with protocols that don't have any channel
name prefixes.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2383 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc')
-rw-r--r-- | src/irc/core/irc-servers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/core/irc-servers.c b/src/irc/core/irc-servers.c index 91935fb5..0faa299f 100644 --- a/src/irc/core/irc-servers.c +++ b/src/irc/core/irc-servers.c @@ -72,7 +72,7 @@ static int ischannel_func(SERVER_REC *server, const char *data) } static void send_message(SERVER_REC *server, const char *target, - const char *msg) + const char *msg, int target_type) { IRC_SERVER_REC *ircserver; char *str; |