Move admin char to "&"
[BREAKING CHANGE] Still uses "!" in extensions/m_ojoin to allow forced joins to server local channels.
This commit is contained in:
parent
a5a0b3e8d8
commit
83cf65e493
|
@ -521,7 +521,7 @@ ms_sjoin(struct Client *client_p, struct Client *source_p, int parc, const char
|
|||
if(*s == '~') {
|
||||
fl |= CHFL_OWNER;
|
||||
s++;
|
||||
} else if(*s == '!') {
|
||||
} else if(*s == '&') {
|
||||
fl |= CHFL_ADMIN;
|
||||
s++;
|
||||
} else if(*s == '@') {
|
||||
|
@ -557,7 +557,7 @@ ms_sjoin(struct Client *client_p, struct Client *source_p, int parc, const char
|
|||
len_nick++;
|
||||
len_uid++;
|
||||
} else if(fl & CHFL_ADMIN) {
|
||||
*ptr_uid++ = '!';
|
||||
*ptr_uid++ = '&';
|
||||
len_nick++;
|
||||
len_uid++;
|
||||
}
|
||||
|
|
|
@ -188,8 +188,8 @@ find_channel_status(struct membership *msptr, int combine)
|
|||
}
|
||||
if(is_admin(msptr)) {
|
||||
if(!combine)
|
||||
return "!";
|
||||
*p++ = '!';
|
||||
return "&";
|
||||
*p++ = '&';
|
||||
}
|
||||
|
||||
if(is_chanop(msptr)) {
|
||||
|
|
Loading…
Reference in New Issue