summaryrefslogtreecommitdiff
path: root/src/core/servers.h
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-02-03 21:53:37 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-02-03 21:53:37 +0000
commit7c94cb083f5354cf85453e9465887fc45bf5bcdc (patch)
treeb014e28fe402bf627de7e762160223b3eb663280 /src/core/servers.h
parent6ea882f8932e115c32f7b3991cb0a7685a359e56 (diff)
downloadirssi-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/core/servers.h')
-rw-r--r--src/core/servers.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/servers.h b/src/core/servers.h
index 05ebc55e..dddde263 100644
--- a/src/core/servers.h
+++ b/src/core/servers.h
@@ -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);