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 == '~') { if(*s == '~') {
fl |= CHFL_OWNER; fl |= CHFL_OWNER;
s++; s++;
} else if(*s == '!') { } else if(*s == '&') {
fl |= CHFL_ADMIN; fl |= CHFL_ADMIN;
s++; s++;
} else if(*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_nick++;
len_uid++; len_uid++;
} else if(fl & CHFL_ADMIN) { } else if(fl & CHFL_ADMIN) {
*ptr_uid++ = '!'; *ptr_uid++ = '&';
len_nick++; len_nick++;
len_uid++; len_uid++;
} }

View File

@ -188,8 +188,8 @@ find_channel_status(struct membership *msptr, int combine)
} }
if(is_admin(msptr)) { if(is_admin(msptr)) {
if(!combine) if(!combine)
return "!"; return "&";
*p++ = '!'; *p++ = '&';
} }
if(is_chanop(msptr)) { if(is_chanop(msptr)) {