comparison libpurple/protocols/silc10/silc.c @ 23063:1008901e1d5c

applied changes from e8233b3a32b1383e10d9591fee51f5ecb99a40ce through f15338f57c0920b685e5164d2f53e50a6d0f64b7
author Evan Schoenberg <evan.s@dreskin.net>
date Tue, 01 Jul 2008 21:33:14 +0000
parents 3d092dd95ec1
children b5479b576af3
comparison
equal deleted inserted replaced
23062:0830ab50c463 23063:1008901e1d5c
387 387
388 g_return_if_fail(sg != NULL); 388 g_return_if_fail(sg != NULL);
389 389
390 /* Send QUIT */ 390 /* Send QUIT */
391 silc_client_command_call(sg->client, sg->conn, NULL, 391 silc_client_command_call(sg->client, sg->conn, NULL,
392 "QUIT", "Download this: " PURPLE_WEBSITE, NULL); 392 "QUIT", "Download this: " CLIENT_WEBSITE, NULL);
393 393
394 if (sg->conn) 394 if (sg->conn)
395 silc_client_close_connection(sg->client, sg->conn); 395 silc_client_close_connection(sg->client, sg->conn);
396 396
397 purple_timeout_remove(sg->scheduler); 397 purple_timeout_remove(sg->scheduler);
1545 1545
1546 if (sg == NULL) 1546 if (sg == NULL)
1547 return PURPLE_CMD_RET_FAILED; 1547 return PURPLE_CMD_RET_FAILED;
1548 1548
1549 silc_client_command_call(sg->client, sg->conn, NULL, 1549 silc_client_command_call(sg->client, sg->conn, NULL,
1550 "QUIT", (args && args[0]) ? args[0] : "Download this: " PURPLE_WEBSITE, NULL); 1550 "QUIT", (args && args[0]) ? args[0] : "Download this: " CLIENT_WEBSITE, NULL);
1551 1551
1552 return PURPLE_CMD_RET_OK; 1552 return PURPLE_CMD_RET_OK;
1553 } 1553 }
1554 1554
1555 static PurpleCmdRet silcpurple_cmd_call(PurpleConversation *conv, 1555 static PurpleCmdRet silcpurple_cmd_call(PurpleConversation *conv,