summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-server.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/irc/irc-server.h')
-rw-r--r--src/plugins/irc/irc-server.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/plugins/irc/irc-server.h b/src/plugins/irc/irc-server.h
index 356d2821f..831ce14cd 100644
--- a/src/plugins/irc/irc-server.h
+++ b/src/plugins/irc/irc-server.h
@@ -192,6 +192,7 @@ struct t_irc_server
/* (nick____1, nick____2, ...) */
char *nick; /* current nickname */
char *nick_modes; /* nick modes */
+ char *nick_host; /* nick host (set if known) */
int checking_cap_ls; /* 1 if checking supported capabilities */
struct t_hashtable *cap_ls; /* list of supported capabilities */
int checking_cap_list; /* 1 if checking enabled capabilities */
@@ -290,8 +291,12 @@ extern int irc_server_sasl_enabled (struct t_irc_server *server);
extern char *irc_server_get_name_without_port (const char *name);
extern int irc_server_set_addresses (struct t_irc_server *server,
const char *addresses);
-extern void irc_server_set_nicks (struct t_irc_server *server, const char *nicks);
-extern void irc_server_set_nick (struct t_irc_server *server, const char *nick);
+extern void irc_server_set_nicks (struct t_irc_server *server,
+ const char *nicks);
+extern void irc_server_set_nick (struct t_irc_server *server,
+ const char *nick);
+extern void irc_server_set_nick_host (struct t_irc_server *server,
+ const char *nick_host);
extern const char *irc_server_get_alternate_nick (struct t_irc_server *server);
extern const char *irc_server_get_isupport_value (struct t_irc_server *server,
const char *feature);