+ if(*parv[1] == '!' && ConfigChannel.use_admin)
+ {
+ add_user_to_channel(chptr, source_p, CHFL_ADMIN);
+ sendto_server(client_p, chptr, CAP_TS6, NOCAPS,
+ ":%s SJOIN %ld %s + :!%s",
+ me.id, (long) chptr->channelts, chptr->chname, source_p->id);
+ sendto_channel_local(ALL_MEMBERS, chptr, ":%s!%s@%s JOIN %s",
+ source_p->name,
+ source_p->username, source_p->host, chptr->chname);
+ sendto_channel_local(ALL_MEMBERS, chptr, ":%s MODE %s +a %s",
+ me.name, chptr->chname, source_p->name);
+
+ }
+ else if(*parv[1] == '@')