summaryrefslogtreecommitdiff
path: root/src/irc/core/irc.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-12-05 00:53:04 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-12-05 00:53:04 +0000
commitd1eaeca255025c38f70e9542ec141a5713496142 (patch)
treece543f56b2b07b79f44fd2c2b0c2613137e7e533 /src/irc/core/irc.c
parent5f941b8fa6442b7c0992561e56eb7dcd7a18046b (diff)
downloadirssi-d1eaeca255025c38f70e9542ec141a5713496142.zip
Split expandos from special-vars.c to expandos.c. Added list of signals
to each expando that can might change it's value. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@964 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc/core/irc.c')
-rw-r--r--src/irc/core/irc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/irc/core/irc.c b/src/irc/core/irc.c
index 607335b1..465a78e9 100644
--- a/src/irc/core/irc.c
+++ b/src/irc/core/irc.c
@@ -237,7 +237,7 @@ char *event_get_params(const char *data, int count, ...)
return duprec;
}
-static void irc_server_event(const char *line, IRC_SERVER_REC *server, const char *nick, const char *address)
+static void irc_server_event(IRC_SERVER_REC *server, const char *line, const char *nick, const char *address)
{
char *event, *args, *callcmd;
GSList *list;
@@ -329,7 +329,7 @@ static void irc_parse_incoming_line(IRC_SERVER_REC *server, char *line)
line = irc_parse_prefix(line, &nick, &address);
if (*line != '\0')
- signal_emit_id(signal_server_event, 4, line, server, nick, address);
+ signal_emit_id(signal_server_event, 4, server, line, nick, address);
}
/* input function: handle incoming server messages */