mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 12:53:42 +02:00
multiprotocol updates. SILC prints channel and private messages now
using the same message formats as IRC. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@699 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
965def294b
commit
2b8580c8a7
46 changed files with 667 additions and 687 deletions
|
|
@ -26,8 +26,6 @@
|
|||
|
||||
GSList *queries;
|
||||
|
||||
typedef QUERY_REC *(*QUERY_FIND_FUNC)(SERVER_REC *, const char *);
|
||||
|
||||
/* Create a new query */
|
||||
QUERY_REC *query_create(int chat_type, SERVER_REC *server,
|
||||
const char *nick, int automatic)
|
||||
|
|
@ -91,9 +89,7 @@ static QUERY_REC *query_find_server(SERVER_REC *server, const char *nick)
|
|||
|
||||
if (server->query_find_func != NULL) {
|
||||
/* use the server specific query find function */
|
||||
QUERY_FIND_FUNC query_find_func;
|
||||
query_find_func = (QUERY_FIND_FUNC) server->query_find_func;
|
||||
return query_find_func(server, nick);
|
||||
return server->query_find_func(server, nick);
|
||||
}
|
||||
|
||||
for (tmp = server->queries; tmp != NULL; tmp = tmp->next) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue