summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2015-12-20 10:22:43 +0100
committerSébastien Helleu <flashcode@flashtux.org>2015-12-20 10:22:43 +0100
commitfb8799e81c0da4af598cd83e379b4f1fd69de8c0 (patch)
treedb7e0560d3bb91ece16a0aa714b60cce71b6726f /src
parentda505c03924565823964d5873f9fbd9749d50f92 (diff)
downloadweechat-fb8799e81c0da4af598cd83e379b4f1fd69de8c0.zip
irc: fix comments
Diffstat (limited to 'src')
-rw-r--r--src/plugins/irc/irc-protocol.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/plugins/irc/irc-protocol.c b/src/plugins/irc/irc-protocol.c
index f823a66f2..2aa4e10d7 100644
--- a/src/plugins/irc/irc-protocol.c
+++ b/src/plugins/irc/irc-protocol.c
@@ -1286,7 +1286,7 @@ IRC_PROTOCOL_CALLBACK(nick)
/* temporary disable hotlist */
weechat_buffer_set (NULL, "hotlist", "-");
- /* set host for nick if needed */
+ /* set host in nick if needed */
if (!ptr_nick->host)
ptr_nick->host = strdup (address);
@@ -4175,7 +4175,7 @@ IRC_PROTOCOL_CALLBACK(352)
ptr_nick = (ptr_channel) ?
irc_nick_search (server, ptr_channel, argv[7]) : NULL;
- /* update host for nick */
+ /* update host in nick */
if (ptr_nick)
{
if (ptr_nick->host)
@@ -4186,14 +4186,14 @@ IRC_PROTOCOL_CALLBACK(352)
snprintf (ptr_nick->host, length, "%s@%s", argv[4], argv[5]);
}
- /* update away flag for nick */
+ /* update away flag in nick */
if (ptr_channel && ptr_nick && pos_attr)
{
irc_nick_set_away (server, ptr_channel, ptr_nick,
(pos_attr[0] == 'G') ? 1 : 0);
}
- /* update realname flag for nick */
+ /* update realname in nick */
if (ptr_channel && ptr_nick && pos_realname)
{
if (ptr_nick->realname)
@@ -4407,7 +4407,7 @@ IRC_PROTOCOL_CALLBACK(354)
ptr_nick = (ptr_channel) ?
irc_nick_search (server, ptr_channel, argv[7]) : NULL;
- /* update host for nick */
+ /* update host in nick */
if (ptr_nick)
{
if (ptr_nick->host)
@@ -4421,7 +4421,7 @@ IRC_PROTOCOL_CALLBACK(354)
snprintf (ptr_nick->host, length, "%s@%s", argv[4], argv[5]);
}
- /* update away flag for nick */
+ /* update away flag in nick */
if (ptr_channel && ptr_nick)
{
if (pos_attr
@@ -4442,7 +4442,7 @@ IRC_PROTOCOL_CALLBACK(354)
}
}
- /* update account flag for nick */
+ /* update account flag in nick */
if (ptr_nick)
{
if (ptr_nick->account)
@@ -4452,7 +4452,7 @@ IRC_PROTOCOL_CALLBACK(354)
strdup (pos_account) : NULL;
}
- /* update realname flag for nick */
+ /* update realname in nick */
if (ptr_nick)
{
if (ptr_nick->realname)