projects
/
srvx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
88ec110
)
For giveownership to new members, give old owner access 499 instead of 400.
author
Michael Poole
<mdpoole@troilus.org>
Sat, 31 Mar 2007 17:20:19 +0000
(13:20 -0400)
committer
Michael Poole
<mdpoole@troilus.org>
Sat, 31 Mar 2007 17:20:19 +0000
(13:20 -0400)
src/chanserv.c (cmd_giveownership): When the new user did not exist, give
them UL_OWNER-1 (499) access rather than UL_COOWNER, so that when the
access levels are swapped later, the previous owner ends up with 499.
src/chanserv.c
patch
|
blob
|
history
diff --git
a/src/chanserv.c
b/src/chanserv.c
index 8be8a276c5b534fb6de81f6b943d3957a0848676..f80e81cd1273fecd8cc8d2c7aa7e3710081eb0e7 100644
(file)
--- a/
src/chanserv.c
+++ b/
src/chanserv.c
@@
-5949,7
+5949,7
@@
static CHANSERV_FUNC(cmd_giveownership)
{
if(force)
{
- new_owner = add_channel_user(cData, new_owner_hi, UL_
COOWNER
, 0, NULL);
+ new_owner = add_channel_user(cData, new_owner_hi, UL_
OWNER - 1
, 0, NULL);
}
else
{