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:
Sam Dodrill 2015-02-19 12:18:42 -08:00
parent a5a0b3e8d8
commit 83cf65e493
2 changed files with 4 additions and 4 deletions

View File

@ -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++;
}

View File

@ -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)) {