summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-command.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2011-09-22 16:25:31 +0200
committerSebastien Helleu <flashcode@flashtux.org>2011-09-22 16:25:31 +0200
commitb937d836d72e2bd91f37d05646c4b07713d3e987 (patch)
treeb4934bfe1ec119933d5abb6522b8caa73c1378e3 /src/plugins/irc/irc-command.c
parent893485ba5fcf791ceed99ab122e336402624b872 (diff)
downloadweechat-b937d836d72e2bd91f37d05646c4b07713d3e987.zip
irc: use high priority queue for sending modes and wallchops messages
Diffstat (limited to 'src/plugins/irc/irc-command.c')
-rw-r--r--src/plugins/irc/irc-command.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/irc/irc-command.c b/src/plugins/irc/irc-command.c
index 072e304a9..f0417e0bf 100644
--- a/src/plugins/irc/irc-command.c
+++ b/src/plugins/irc/irc-command.c
@@ -75,7 +75,7 @@ irc_command_mode_nicks (struct t_irc_server *server, const char *channel,
strcat (command, " ");
strcat (command, argv[i]);
}
- irc_server_sendf (server, IRC_SERVER_SEND_OUTQ_PRIO_LOW, NULL,
+ irc_server_sendf (server, IRC_SERVER_SEND_OUTQ_PRIO_HIGH, NULL,
"%s", command);
free (command);
}
@@ -2365,13 +2365,13 @@ irc_command_mode_server (struct t_irc_server *server,
{
if (channel && arguments)
{
- irc_server_sendf (server, IRC_SERVER_SEND_OUTQ_PRIO_LOW, NULL,
+ irc_server_sendf (server, IRC_SERVER_SEND_OUTQ_PRIO_HIGH, NULL,
"MODE %s %s",
channel->name, arguments);
}
else
{
- irc_server_sendf (server, IRC_SERVER_SEND_OUTQ_PRIO_LOW, NULL,
+ irc_server_sendf (server, IRC_SERVER_SEND_OUTQ_PRIO_HIGH, NULL,
"MODE %s",
(channel) ? channel->name : arguments);
}
@@ -4586,7 +4586,7 @@ irc_command_wallchops (void *data, struct t_gui_buffer *buffer, int argc,
&& (strcmp (ptr_nick->name, ptr_server->nick) != 0))
{
irc_server_sendf (ptr_server,
- IRC_SERVER_SEND_OUTQ_PRIO_LOW, NULL,
+ IRC_SERVER_SEND_OUTQ_PRIO_HIGH, NULL,
"NOTICE %s :%s",
ptr_nick->name, argv_eol[pos_args]);
}