From cf370d7e79d897f1d41e0b949385dbf3e595d3ed Mon Sep 17 00:00:00 2001 From: Diogo Sousa Date: Thu, 10 Oct 2013 19:51:33 +0100 Subject: When opening a query dialog with /query nick msg, the message was not shown in the newly opened dialog. This fixes that issue. --- src/common/outbound.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/common/outbound.h') diff --git a/src/common/outbound.h b/src/common/outbound.h index 81a98666..b9fe6331 100644 --- a/src/common/outbound.h +++ b/src/common/outbound.h @@ -20,6 +20,8 @@ #ifndef HEXCHAT_OUTBOUND_H #define HEXCHAT_OUTBOUND_H +#include "hexchat.h" + extern const struct commands xc_cmds[]; extern GSList *menu_list; @@ -34,7 +36,7 @@ void notc_msg (session *sess); void server_sendpart (server * serv, char *channel, char *reason); void server_sendquit (session * sess); int menu_streq (const char *s1, const char *s2, int def); -void open_query (server *serv, char *nick, gboolean focus_existing); +session *open_query (server *serv, char *nick, gboolean focus_existing); gboolean load_perform_file (session *sess, char *file); #endif -- cgit 1.4.1