summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2017-02-18 13:09:27 +0100
committerSébastien Helleu <flashcode@flashtux.org>2017-02-18 13:09:27 +0100
commitcf1010e177cc38a8a204f426e13365f5d101822e (patch)
tree27ca8fc46d9255ff3c11ee1995e1da4c94a98f24
parent8282567d402f027a710d3f4678ee3e2a20d88c49 (diff)
downloadweechat-cf1010e177cc38a8a204f426e13365f5d101822e.zip
irc: move initialization of variables "inclusive"
-rw-r--r--src/plugins/irc/irc-command.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/irc/irc-command.c b/src/plugins/irc/irc-command.c
index cab57c246..1acd14952 100644
--- a/src/plugins/irc/irc-command.c
+++ b/src/plugins/irc/irc-command.c
@@ -412,8 +412,8 @@ IRC_COMMAND_CALLBACK(allchan)
current_server = 0;
ptr_channels = NULL;
- ptr_command = argv_eol[1];
inclusive = 0;
+ ptr_command = argv_eol[1];
for (i = 1; i < argc; i++)
{
if (weechat_strcasecmp (argv[i], "-current") == 0)
@@ -471,8 +471,8 @@ IRC_COMMAND_CALLBACK(allpv)
current_server = 0;
ptr_channels = NULL;
- ptr_command = argv_eol[1];
inclusive = 0;
+ ptr_command = argv_eol[1];
for (i = 1; i < argc; i++)
{
if (weechat_strcasecmp (argv[i], "-current") == 0)
@@ -637,8 +637,8 @@ IRC_COMMAND_CALLBACK(allserv)
WEECHAT_COMMAND_MIN_ARGS(2, "");
ptr_servers = NULL;
- ptr_command = argv_eol[1];
inclusive = 0;
+ ptr_command = argv_eol[1];
for (i = 1; i < argc; i++)
{
if (weechat_strncasecmp (argv[i], "-exclude=", 9) == 0)