projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updates.
[silc.git]
/
apps
/
irssi
/
src
/
silc
/
core
/
silc-channels.c
diff --git
a/apps/irssi/src/silc/core/silc-channels.c
b/apps/irssi/src/silc/core/silc-channels.c
index ead74959c8bd6287016db399995632e6a4b73b04..c823e0a5e1699c87ca15ef31fbcaf3030a942152 100644
(file)
--- a/
apps/irssi/src/silc/core/silc-channels.c
+++ b/
apps/irssi/src/silc/core/silc-channels.c
@@
-800,7
+800,8
@@
static void command_key(const char *data, SILC_SERVER_REC *server,
g_free(tmp);
if (argc < 4) {
g_free(tmp);
if (argc < 4) {
- silc_say(silc_client, conn, "Usage: /KEY msg|channel <nickname|channel> "
+ silc_say(silc_client, conn, SILC_CLIENT_MESSAGE_INFO,
+ "Usage: /KEY msg|channel <nickname|channel> "
"set|unset|agreement|negotiate [<arguments>]");
return;
}
"set|unset|agreement|negotiate [<arguments>]");
return;
}
@@
-812,7
+813,8
@@
static void command_key(const char *data, SILC_SERVER_REC *server,
type = 2;
if (type == 0) {
type = 2;
if (type == 0) {
- silc_say(silc_client, conn, "Usage: /KEY msg|channel <nickname|channel> "
+ silc_say(silc_client, conn, SILC_CLIENT_MESSAGE_INFO,
+ "Usage: /KEY msg|channel <nickname|channel> "
"set|unset|agreement|negotiate [<arguments>]");
return;
}
"set|unset|agreement|negotiate [<arguments>]");
return;
}
@@
-1018,7
+1020,7
@@
static void command_key(const char *data, SILC_SERVER_REC *server,
else
strcat(buf, "*generated*");
else
strcat(buf, "*generated*");
- silc_say(silc_client, conn, "%s", buf);
+ silc_say(silc_client, conn,
SILC_CLIENT_MESSAGE_INFO,
"%s", buf);
}
} else {
printformat_module("fe-common/silc", server, NULL, MSGLEVEL_CRAP,
}
} else {
printformat_module("fe-common/silc", server, NULL, MSGLEVEL_CRAP,
@@
-1049,7
+1051,7
@@
static void command_key(const char *data, SILC_SERVER_REC *server,
else
strcat(buf, "*generated*");
else
strcat(buf, "*generated*");
- silc_say(silc_client, conn, "%s", buf);
+ silc_say(silc_client, conn,
SILC_CLIENT_MESSAGE_INFO,
"%s", buf);
}
}
}
}
@@
-1089,7
+1091,7
@@
static void command_key(const char *data, SILC_SERVER_REC *server,
strcat(buf, "<hidden>");
strcat(buf, "<hidden>");
- silc_say(silc_client, conn, "%s", buf);
+ silc_say(silc_client, conn,
SILC_CLIENT_MESSAGE_INFO,
"%s", buf);
}
silc_client_free_channel_private_keys(keys, keys_count);
}
silc_client_free_channel_private_keys(keys, keys_count);
@@
-1128,7
+1130,8
@@
static void command_key(const char *data, SILC_SERVER_REC *server,
}
if (command == 0) {
}
if (command == 0) {
- silc_say(silc_client, conn, "Usage: /KEY msg|channel <nickname|channel> "
+ silc_say(silc_client, conn, SILC_CLIENT_MESSAGE_INFO,
+ "Usage: /KEY msg|channel <nickname|channel> "
"set|unset|agreement|negotiate [<arguments>]");
goto out;
}
"set|unset|agreement|negotiate [<arguments>]");
goto out;
}