projects
/
srvx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d88567
)
Fix parsing of (P10) MODE <nickname> +<mode> <parameters>.
author
Michael Poole
<mdpoole@troilus.org>
Sun, 14 Mar 2010 22:51:52 +0000
(18:51 -0400)
committer
Michael Poole
<mdpoole@troilus.org>
Sun, 14 Mar 2010 22:51:52 +0000
(18:51 -0400)
src/proto-p10.c (cmd_mode): Unsplit the mode and any trailing arguments.
src/proto-p10.c
patch
|
blob
|
history
diff --git
a/src/proto-p10.c
b/src/proto-p10.c
index 638913a77216142d3448c89fb42dcb0446cc2a9f..6509fabb6cf61151cf8e541de3aa513e1bece9e3 100644
(file)
--- a/
src/proto-p10.c
+++ b/
src/proto-p10.c
@@
-1359,6
+1359,7
@@
static CMD_FUNC(cmd_mode)
log_module(MAIN_LOG, LOG_ERROR, "Unable to find user %s whose mode is changing.", argv[1]);
return 0;
}
+ argv[2] = unsplit_string(argv + 2, argc - 2, NULL);
mod_usermode(un, argv[2]);
return 1;
}