+Mon Dec 10 19:57:40 EET 2001 Pekka Riikonen <priikone@silcnet.org>
+
+ * If first character of string in silc_parse_userfqdn is '@'
+ then do not parse it. Affected file is
+ lib/silcutil/silcutil.c.
+
Sun Dec 9 22:18:50 EET 2001 Pekka Riikonen <priikone@silcnet.org>
* Fixed minor bug in IDENTIFY command reply sending, which
<FONT SIZE="+3" COLOR="#000044"><B>SILC Toolkit Reference Manual</B></FONT>
<BR>
Copyright (C) GNU GPL 2001 The SILC Project<BR>
-Version: 0.7<BR>
+Version: 0.7.1<BR>
Updated: @DATE@
<BR><BR>
<B><FONT SIZE="2">Note that this document is still under work and does not
argc = silc_argument_get_arg_num(cmd->args);
if (argc < 2 || argc > 2) {
- cmd->client->internal->ops->say(cmd->client, conn, SILC_CLIENT_MESSAGE_ERROR,
- "Cannot set nickname: bad reply to command");
+ cmd->client->internal->ops->say(
+ cmd->client,
+ conn, SILC_CLIENT_MESSAGE_ERROR,
+ "Cannot set nickname: bad reply to command");
COMMAND_REPLY_ERROR;
goto out;
}
if (!string)
return FALSE;
+ if (string[0] == '@') {
+ if (left)
+ *left = strdup(string);
+ return TRUE;
+ }
+
if (strchr(string, '@')) {
tlen = strcspn(string, "@");