mirror of
https://github.com/anope/anope.git
synced 2026-06-28 03:36:37 +02:00
Add m_sql_oper
This commit is contained in:
@@ -431,6 +431,9 @@ void User::Identify(NickAlias *na)
|
||||
this->SetModes(bi, "%s", this->nc->o->ot->modes.c_str());
|
||||
if (bi != NULL)
|
||||
this->SendMessage(bi, "Changing your usermodes to \002%s\002", this->nc->o->ot->modes.c_str());
|
||||
UserMode *um = ModeManager::FindUserModeByName(UMODE_OPER);
|
||||
if (um && !this->HasMode(UMODE_OPER) && this->nc->o->ot->modes.find(um->ModeChar) != Anope::string::npos)
|
||||
ircdproto->SendOper(this);
|
||||
}
|
||||
if (ircdproto->CanSetVHost && !this->nc->o->vhost.empty())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user