Count.oper--;
- /* Do we need to propegate these? I'm not 100% sure
- * so we should test it when we have a testnet */
user_metadata_delete(source_p, "OPERSTRING", 1);
user_metadata_delete(source_p, "SWHOIS", 1);
if(oper_p->swhois)
user_metadata_add(source_p, "SWHOIS", oper_p->swhois, 1);
+ if(oper_p->operstring)
+ user_metadata_add(source_p, "OPERSTRING", oper_p->operstring, 1);
+
if(oper_p->vhost || !EmptyString(ConfigFileEntry.default_operhost))
{
if(oper_p->vhost)
chptr = mscptr->chptr;
mptr = mode;
- if(is_owner(mscptr))
+ if(is_admin(mscptr))
{
*mptr++ = 'a';
strcat(modeval, nick);