summaryrefslogtreecommitdiff
path: root/src/irc/dcc/dcc-chat.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-12-05 21:12:52 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-12-05 21:12:52 +0000
commit9f2f1dc70a7ed6495cf511249f3b9095fb40c38a (patch)
treeb54494da367fdeb1c4f3e90b559da6615b58e370 /src/irc/dcc/dcc-chat.c
parent346808789cfd3556b8caf263bdd81982d6081296 (diff)
downloadirssi-9f2f1dc70a7ed6495cf511249f3b9095fb40c38a.zip
Server events: switched order of data and server parameters. it's now
SERVER_REC *server, const char *data, .. hope this doesn't cause too many problems :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@967 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc/dcc/dcc-chat.c')
-rw-r--r--src/irc/dcc/dcc-chat.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/irc/dcc/dcc-chat.c b/src/irc/dcc/dcc-chat.c
index e37217f1..f78485f2 100644
--- a/src/irc/dcc/dcc-chat.c
+++ b/src/irc/dcc/dcc-chat.c
@@ -93,7 +93,7 @@ static void cmd_me(const char *data, IRC_SERVER_REC *server, QUERY_REC *item)
if (dcc == NULL) return;
str = g_strdup_printf("ACTION %s", data);
- dcc_ctcp_message(dcc->nick, NULL, dcc, FALSE, str);
+ dcc_ctcp_message(NULL, dcc->nick, dcc, FALSE, str);
g_free(str);
signal_stop();
@@ -119,7 +119,7 @@ static void cmd_action(const char *data, IRC_SERVER_REC *server)
dcc = dcc_find_item(DCC_TYPE_CHAT, target+1, NULL);
if (dcc != NULL) {
str = g_strdup_printf("ACTION %s", text);
- dcc_ctcp_message(dcc->nick, NULL, dcc, FALSE, str);
+ dcc_ctcp_message(NULL, dcc->nick, dcc, FALSE, str);
g_free(str);
}
@@ -151,7 +151,7 @@ static void cmd_ctcp(const char *data, IRC_SERVER_REC *server)
g_strup(ctcpcmd);
str = g_strdup_printf("%s %s", ctcpcmd, ctcpdata);
- dcc_ctcp_message(dcc->nick, NULL, dcc, FALSE, str);
+ dcc_ctcp_message(NULL, dcc->nick, dcc, FALSE, str);
g_free(str);
}
@@ -375,7 +375,7 @@ static void dcc_ctcp_redirect(gchar *msg, DCC_REC *dcc)
g_return_if_fail(msg != NULL);
g_return_if_fail(dcc != NULL);
- signal_emit("ctcp msg dcc", 6, msg, dcc->server, dcc->nick, "dcc", dcc->mynick, dcc);
+ signal_emit("ctcp msg dcc", 6, dcc->server, msg, dcc->nick, "dcc", dcc->mynick, dcc);
}
void dcc_chat_init(void)