projects
/
srvx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba7a579
)
Fix typo when parsing channel mode changes for +A, from SF bug #2787760.
author
Michael Poole
<mdpoole@troilus.org>
Mon, 21 Sep 2009 02:05:56 +0000
(22:05 -0400)
committer
Michael Poole
<mdpoole@troilus.org>
Mon, 21 Sep 2009 02:05:56 +0000
(22:05 -0400)
src/proto-p10.c (mod_chanmode_parse): Use new_apass rather than new_upass
when parsing mode +A changes.
src/proto-p10.c
patch
|
blob
|
history
diff --git
a/src/proto-p10.c
b/src/proto-p10.c
index 9c8862b93ccd96b4b172cda728ab9e585d123dc1..7254d4ad8ff37ce649661a6482065fdd30e0f4dd 100644
(file)
--- a/
src/proto-p10.c
+++ b/
src/proto-p10.c
@@
-2366,7
+2366,7
@@
mod_chanmode_parse(struct chanNode *channel, char **modes, unsigned int argc, un
case 'A':
if (add) {
if ((in_arg >= argc)
- || keyncpy(change->new_
upass, modes[in_arg++], sizeof(change->new_u
pass)))
+ || keyncpy(change->new_
apass, modes[in_arg++], sizeof(change->new_a
pass)))
goto error;
change->modes_set |= MODE_APASS;
} else {