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
This commit is contained in:
Timo Sirainen 2002-02-03 21:53:37 +00:00 committed by cras
commit 7c94cb083f
7 changed files with 74 additions and 41 deletions

View file

@ -31,6 +31,9 @@ struct _SERVER_REC {
#include "server-rec.h"
};
#define SEND_TARGET_CHANNEL 0
#define SEND_TARGET_NICK 1
extern GSList *servers, *lookup_servers;
void servers_init(void);