mirror of
https://github.com/irssi/irssi.git
synced 2026-08-18 16:12:30 +02:00
correct wrong function prefixes: g_istr -> i_istr
This commit is contained in:
parent
edb2f699d1
commit
9181796472
14 changed files with 30 additions and 36 deletions
|
|
@ -283,8 +283,7 @@ static void server_init(IRC_SERVER_REC *server)
|
|||
g_free(cmd);
|
||||
}
|
||||
|
||||
server->isupport = g_hash_table_new((GHashFunc) g_istr_hash,
|
||||
(GCompareFunc) g_istr_equal);
|
||||
server->isupport = g_hash_table_new((GHashFunc) i_istr_hash, (GCompareFunc) i_istr_equal);
|
||||
|
||||
/* set the standards */
|
||||
g_hash_table_insert(server->isupport, g_strdup("CHANMODES"), g_strdup("beI,k,l,imnpst"));
|
||||
|
|
@ -417,10 +416,9 @@ static void sig_connected(IRC_SERVER_REC *server)
|
|||
(QUERY_REC *(*)(SERVER_REC *, const char *)) irc_query_find;
|
||||
server->nick_comp_func = irc_nickcmp_rfc1459;
|
||||
|
||||
server->splits = g_hash_table_new((GHashFunc) g_istr_hash,
|
||||
(GCompareFunc) g_istr_equal);
|
||||
server->splits = g_hash_table_new((GHashFunc) i_istr_hash, (GCompareFunc) i_istr_equal);
|
||||
|
||||
if (!server->session_reconnect)
|
||||
if (!server->session_reconnect)
|
||||
server_init(server);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -106,8 +106,8 @@ static void sig_session_restore_server(IRC_SERVER_REC *server,
|
|||
server->connrec->sasl_password = g_strdup(config_node_get_str(node, "sasl_password", NULL));
|
||||
|
||||
if (server->isupport == NULL) {
|
||||
server->isupport = g_hash_table_new((GHashFunc) g_istr_hash,
|
||||
(GCompareFunc) g_istr_equal);
|
||||
server->isupport =
|
||||
g_hash_table_new((GHashFunc) i_istr_hash, (GCompareFunc) i_istr_equal);
|
||||
}
|
||||
|
||||
node = config_node_section(NULL, node, "isupport", -1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue