+Tue Feb 17 19:34:30 EET 2004 Pekka Riikonen <priikone@silcnet.org>
+
+ * Fixed silc_client_send_private_message to return TRUE correctly.
+ Affected file lib/silcclient/client_prvmsg.c.
+
+ * Added topic to the SilcChannelEntry. Affected files are
+ lib/silcclient/silcclient.h, command_reply.c, client_notify.c.
+
Fri Feb 13 14:19:14 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
* Use conn->cmd_ident for all silc_client_command_call()s. Affected
* Convert all commands to UTF-8 before passing them to the
client library. Still need to convert replies from UTF-8 to
- the locale encoding. Affected file
+ the locale encoding. Affected file
irssi/src/silc/core/silc-cmdqueue.c
-
+
Fri Feb 13 13:13:07 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
* redirect all silc_client_command_calls through a queueing framework.
Author: Pekka Riikonen <priikone@silcnet.org>
- Copyright (C) 1997 - 2003 Pekka Riikonen
+ Copyright (C) 1997 - 2004 Pekka Riikonen
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
goto out;
}
+ if (tmp) {
+ silc_free(channel->topic);
+ channel->topic = silc_memdup(tmp, strlen(tmp));
+ }
+
/* Notify application. The channel entry is sent last as this notify
is for channel but application don't know it from the arguments
sent by server. */
Author: Pekka Riikonen <priikone@silcnet.org>
- Copyright (C) 1997 - 2003 Pekka Riikonen
+ Copyright (C) 1997 - 2004 Pekka Riikonen
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
goto out;
}
+ if (topic) {
+ silc_free(channel->topic);
+ channel->topic = silc_memdup(topic, strlen(topic));
+ }
+
/* Notify application */
COMMAND_REPLY((SILC_ARGS, channel, topic));
if (tmp)
silc_buffer_set(&chpklist, tmp, len);
+ if (topic) {
+ silc_free(channel->topic);
+ channel->topic = silc_memdup(topic, strlen(topic));
+ }
+
/* Notify application */
COMMAND_REPLY((SILC_ARGS, channel_name, channel, mode, 0,
keyp ? keyp->head : NULL, NULL,
Author: Pekka Riikonen <priikone@silcnet.org>
- Copyright (C) 2001 - 2003 Pekka Riikonen
+ Copyright (C) 2001 - 2004 Pekka Riikonen
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
silc_hash_table_free(channel->user_list);
silc_free(channel->channel_name);
+ silc_free(channel->topic);
silc_free(channel->id);
silc_free(channel->key);
if (channel->channel_key)
char *channel_name; /* Channel name */
SilcChannelID *id; /* Channel ID */
SilcUInt32 mode; /* Channel mode, ChannelModes. */
+ char *topic; /* Current topic, may be NULL */
/* All clients that has joined this channel. The key to the table is the
SilcClientEntry and the context is SilcChannelUser context. */